Correlating scene-based audio data for psychoacoustic audio coding

ABSTRACT

In general, techniques are described by which to correlate scene-based audio data for psychoacoustic audio coding. A device comprising a memory and one or more processors may be configured to perform the techniques. The memory may store a bitstream including a plurality of encoded correlated components of a soundfield represented by scene-based audio data. The one or more processors may perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components, and obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream. The one or more processors may reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components, and reconstruct, based on the plurality of reordered components, the scene-based audio data.

This application claims the benefit of U.S. Provisional Application No. 62/865,865, entitled “CORRELATING SCENE-BASED AUDIO DATA FOR PSYCHOACOUSTIC AUDIO CODING,” filed Jun. 24, 2019, the entire contents of which are hereby incorporated by reference as if set forth in their entirety herein.

TECHNICAL FIELD

This disclosure relates to audio data and, more specifically, coding of audio data.

BACKGROUND

Psychoacoustic audio coding refers to a process whereby audio data is compressed using psychoacoustic models. The psychoacoustic audio coding may leverage limitations in a human auditory system to compress the audio data, taking into account limitations that occur due to spatial masking (e.g., two audio sources at the same location where one of the auditory sources masks, in terms of loudness, another auditory source), temporal masking (e.g., where one audio source masks, in terms of loudness, another auditory source), etc. The psychoacoustic models may attempt to model the human auditory system to identify masked or other portions of the soundfield that are redundant, masked, or otherwise incapable of being perceived by the human auditory system. The psychoacoustic audio coding may also perform lossless compression by entropy encoding the audio data.

SUMMARY

In general, techniques are described for correlating scene-based audio data for psychoacoustic audio coding.

In one example, various aspects of the techniques are directed to a device configured to encode scene-based audio data, the device comprising: a memory configured to store the scene-based audio data; and one or more processors configured to: perform spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; perform correlation with respect to two or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; perform psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specify, in a bitstream, the encoded components.

In another example, various aspects of the techniques are directed to a method of encoding scene-based audio data, the method comprising: performing spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; performing correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; performing psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specifying, in a bitstream, the encoded components.

In another example, various aspects of the techniques are directed to a device configured to encode scene-based audio data, the device comprising: means for performing spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; means for performing correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; means for performing psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and means for specifying, in a bitstream, the encoded components.

In another example, various aspects of the techniques are directed to a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to: perform spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; perform correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; perform psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specify, in a bitstream, the encoded components.

In another example, various aspects of the techniques are directed to a device configured to decode a bitstream representative of scene-based audio data, the device comprising: a memory configured to store the bitstream, the bitstream including a plurality of encoded correlated components of a soundfield represented by the scene-based audio data; and one or more processors configured to: perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstruct, based on the plurality of reordered components, the scene-based audio data.

In another example, various aspects of the techniques are directed to a method of decoding a bitstream representative of scene-based audio data, the method comprising: obtaining, from the bitstream, a plurality of encoded correlated components; performing psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtaining, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reordering, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstructing, based on the plurality of reordered components, the scene-based audio data.

In another example, various aspects of the techniques are directed to a device configured to decode a bitstream representative of scene-based audio data, the device comprising: means for obtaining, from the bitstream, a plurality of encoded correlated components; means for performing psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; means for obtaining, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; means for reordering, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and means for reconstructing, based on the plurality of reordered components, the scene-based audio data.

In another example, various aspects of the techniques are directed to a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to: obtain, from a bitstream representative of scene-based audio data, a plurality of encoded correlated components; perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstruct, based on the plurality of reordered components, the scene-based audio data.

The details of one or more aspects of the techniques are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of these techniques will be apparent from the description and drawings, and from the claims.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a diagram illustrating a system that may perform various aspects of the techniques described in this disclosure.

FIG. 2 is a diagram illustrating another example of a system that may perform various aspects of the techniques described in this disclosure.

FIGS. 3A-3C are block diagrams that each illustrate, in more detail, an example of the psychoacoustic audio encoding device shown in the examples of FIGS. 1 and 2.

FIGS. 4A and 4B are block diagrams that each illustrate, in more detail, an example of the psychoacoustic audio decoding device shown in the examples of FIGS. 1 and 2.

FIG. 5 is a block diagram illustrating, in more detail, an example of the encoder shown in the examples of FIGS. 3A-3C.

FIG. 6 is a block diagram illustrating, in more detail, an example of the decoder of FIGS. 4A and 4B.

FIG. 7 is a block diagram illustrating an example of the encoder shown in the example of FIGS. 3A-3C in more detail.

FIG. 8 is a block diagram illustrating an implementation of the decoder shown in the example of FIGS. 4A and 4B in more detail.

FIGS. 9A and 9B are block diagrams illustrating another example of the encoder shown in the examples of FIGS. 3A-3C in more detail.

FIGS. 10A and 10B are block diagrams illustrating another example of the decoder shown in the example of FIGS. 4A and 4B in more detail.

FIG. 11 is a diagram illustrating an example of top-down quantization.

FIG. 12 is a diagram illustrating an example of bottom-up quantization.

FIG. 13 is a block diagram illustrating example components of the source device shown in the example of FIG. 2.

FIG. 14 is a block diagram illustrating exemplary components of the sink device shown in the example of FIG. 2.

FIG. 15 is a flowchart illustrating example operation of the audio encoder shown in the example of FIG. 1 in performing various aspects of the techniques described in this disclosure.

FIG. 16 is a flowchart illustrating example operation of the audio decoder shown in the example of FIG. 1 in performing various aspects of the techniques described in this disclosure.

DETAILED DESCRIPTION

Different types of audio formats exist including channel-based, object-based, and scene-based. Scene-based formats may use ambisonic technology. ambisonic technology allows for soundfields to be represented using a hierarchical set of elements that can be rendered to speaker feeds for most speaker configurations.

One example of a hierarchical set of elements is a set of spherical harmonic coefficients (SHC). The following expression demonstrates a description or representation of a soundfield using SHC:

${{p_{i}\left( {t,r_{r},\theta_{r},\phi_{r}} \right)} = {\sum\limits_{\omega = 0}^{\infty}{\left\lbrack {4\pi {\sum\limits_{n = 0}^{\infty}{{j_{n}\left( {kr_{r}} \right)}{\sum\limits_{m = {- n}}^{n}{{A_{n}^{m}(k)}{Y_{n}^{m}\left( {\theta_{r},\phi_{r}} \right)}}}}}} \right\rbrack e^{j\omega t}}}},$

The expression shows that the pressure p_(i) at any point {r_(r), θ_(r), ϕ_(r)} of the soundfield, at time t, can be represented uniquely by the SHC, A_(n) ^(m)(k). Here,

${k = \frac{\omega}{c}},$

c is the speed of sound (˜343 m/s), {r_(r), θ_(r), ϕ_(r)} is a point of reference (or observation point), j_(n)(·) is the spherical Bessel function of order n, and Y_(n) ^(m)(θ_(r), ϕ_(r)) are the spherical harmonic basis functions (which may also be referred to as a spherical basis function) of order n and suborder m. It can be recognized that the term in square brackets is a frequency-domain representation of the signal (i.e., S(ω, r_(r), θ_(r), ϕ_(r))) which can be approximated by various time-frequency transformations, such as the discrete Fourier transform (DFT), the discrete cosine transform (DCT), or a wavelet transform. Other examples of hierarchical sets include sets of wavelet transform coefficients and other sets of coefficients of multiresolution basis functions.

The SHC A_(n) ^(m)(k) can either be physically acquired (e.g., recorded) by various microphone array configurations or, alternatively, they can be derived from channel-based or object-based descriptions (e.g., pulse code modulated—PCM—audio objects, which include the audio object and metadata defining a location of the audio object within a soundfield) of the soundfield. The SHC (which also may be referred to as ambisonic coefficients) represent scene-based audio, where the SHC may be input to an audio encoder to obtain encoded SHC that may promote more efficient transmission or storage. For example, a fourth-order representation involving (1+4)² (25, and hence fourth order) coefficients may be used.

As noted above, the SHC may be derived from a microphone recording using a microphone array. Various examples of how SHC may be derived from microphone arrays are described in Poletti, M., “Three-Dimensional Surround Sound Systems Based on Spherical Harmonics,” J. Audio Eng. Soc., Vol. 53, No. 11, 2005 November, pp. 1004-1025.

To illustrate how the SHCs may be derived from an object-based description, consider the following equation. The coefficients A_(n) ^(m)(k) for the soundfield corresponding to an individual audio object may be expressed as:

A _(n) ^(m)(k)=g(ω)(−4πik)h _(n) ⁽²⁾(kr _(s))Y _(n) ^(m*)(θ_(s), ϕ_(s)),

where i is √{square root over (−1)}, h_(n) ⁽²⁾(·) is the spherical Hankel function (of the second kind) of order n, and {r_(s), θ_(s), ϕ_(s)} is the location of the object. Knowing the object source energy g (ω) as a function of frequency (e.g., using time-frequency analysis techniques, such as performing a fast Fourier transform on the PCM stream) allows us to convert each PCM object and the corresponding location into the SHC A_(n) ^(m)(k). Further, it can be shown (since the above is a linear and orthogonal decomposition) that the A_(n) ^(m)(k) coefficients for each object are additive. In this manner, a number of PCM objects (where a PCM object is one example of the audio objects) can be represented by the A_(n) ^(m)(k) coefficients (e.g., as a sum of the coefficient vectors for the individual objects). Essentially, the coefficients contain information about the soundfield (the pressure as a function of 3D coordinates), and the above represents the transformation from individual objects to a representation of the overall soundfield, in the vicinity of the observation point {r_(r), θ_(r), ϕ_(r)}. The following figures are described below in the context of SHC-based audio coding.

FIG. 1 is a diagram illustrating a system 10 that may perform various aspects of the techniques described in this disclosure. As shown in the example of FIG. 1, the system 10 includes a content creator system 12 and a content consumer 14. While described in the context of the content creator system 12 and the content consumer 14, the techniques may be implemented in any context in which SHCs (which may also be referred to as ambisonic coefficients) or any other hierarchical representation of a soundfield are encoded to form a bitstream representative of the audio data.

Moreover, the content creator system 12 may represent a system comprising one or more of any form of computing devices capable of implementing the techniques described in this disclosure, including a handset (or cellular phone, including a so-called “smartphone,” or, in other words, mobile phone or handset), a tablet computer, a laptop computer, a desktop computer, an extended reality (XR) device (which may refer to any one or more of virtual reality—VR—devices, augmented reality—AR—devices, mixed reality—MR—devices, etc.), a gaming system, an optical disc player, a receiver (such as an audio/visual—AN—receiver), or dedicated hardware to provide a few examples.

Likewise, the content consumer 14 may represent any form of computing device capable of implementing the techniques described in this disclosure, including a handset (or cellular phone, including a so-called “smartphone,” or in other words, a mobile handset or phone), an XR device, a tablet computer, a television (including so-called “smart televisions”), a set-top box, a laptop computer, a gaming system or console, a watch (including a so-called smart watch), wireless headphones (including so-called “smart headphones”), or a desktop computer to provide a few examples.

The content creator system 12 may represent any entity that may generate audio content and possibly video content for consumption by content consumers, such as the content consumer 14. The content creator system 12 may capture live audio data at events, such as sporting events, while also inserting various other types of additional audio data, such as commentary audio data, commercial audio data, intro or exit audio data and the like, into the live audio content.

The content consumer 14 represents an individual that owns or has access to an audio playback system 16, which may refer to any form of audio playback system capable of rendering higher order ambisonic audio data (which includes higher order audio coefficients that, again, may also be referred to as spherical harmonic coefficients) to speaker feeds for play back as audio content. In the example of FIG. 1, the content consumer 14 includes the audio playback system 16.

The ambisonic audio data may be defined in the spherical harmonic domain and rendered or otherwise transformed from the spherical harmonic domain to a spatial domain, resulting in the audio content in the form of one or more speaker feeds. The ambisonic audio data may represent one example of “scene-based audio data,” which describes an audio scene using ambisonic coefficients. Scene-based audio data is distinguished from object-based audio data in that an entire scene is described (in the spherical harmonic domain) as opposed to discreet objects (in the spatial domain) as is common in object-based audio data. Scene-based audio data is different than channel-based audio data in that the scene-based audio data resides in the spherical harmonic domain as opposed to the spatial domain of channel-based audio data.

In any event, the content creator system 12 includes microphones 18 that record or otherwise obtain live recordings in various formats (including directly as ambisonic coefficients and audio objects). When the microphone array 18 (which may also be referred to as “microphones 18”) obtains live audio directly as ambisonic coefficients, the microphones 18 may include an ambisonics transcoder 20 as shown in the example of FIG. 1.

In other words, although shown as separate from the microphones 5, a separate instance of the Ambisonic Transcoder 20 may be included within each of the microphones 5 so as to transcode the captured feeds into the ambisonic coefficients 21. However, when not included within the microphones 18, the ambisonic Transcoder 20 may transcode the live feeds output from the microphones 18 into the ambisonic coefficients 21. In this respect, the ambisonic Transcoder 20 may represent a unit configured to transcode microphone feeds and/or audio objects into the ambisonic coefficients 21. The content creator system 12 therefore includes the ambisonic transcoder 20 as integrated with the microphones 18, as an Ambisonic transcoder separate from the microphones 18 or some combination thereof.

The content creator system 12 may also include an audio encoder 22 configured to compress the ambisonic coefficients 21 to obtain a bitstream 31. The audio encoder 22 may include a spatial audio encoding device 24 and a psychoacoustic audio encoding device 26. The spatial audio encoding device 24 may represent a device capable of performing the compression with respect to the ambisonic coefficients 21 to obtain intermediately formatted audio data 25 (which may also be referred to as “mezzanine formatted audio data 25” when the content creator system 12 represents a broadcast network as described in more detail below). Intermediately formatted audio data 25 may represent audio data that is compressed using spatial audio compression but that has not yet undergone psychoacoustic audio encoding (e.g., such as AptX or advanced audio coding—AAC, or other similar types of psychoacoustic audio encoding, including various enhanced AAC—eAAC—such as high efficiency AAC—HE-AAC—HE-AAC v2, which is also known as eAAC+, etc.).

The spatial audio encoding device 24 may be configured to compress the ambisonic coefficients 21. That is, the spatial audio encoding device 24 may compress the ambisonic coefficients 21 using a decomposition involving application of a linear invertible transform (LIT). One example of the linear invertible transform is referred to as a “singular value decomposition” (“SVD”), a principal component analysis (“PCA”), or an Eigenvalue decomposition, which may represent different examples of a linear invertible decomposition.

In this example, the spatial audio encoding device 24 may apply SVD to the ambisonic coefficients 21 to determine a decomposed version of the ambisonic coefficients 21. The decomposed version of the ambisonic coefficients 21 may include one or more of predominant audio signals and one or more corresponding spatial components describing spatial characteristics, e.g., a direction, shape, and width, of the associated predominant audio signals. As such, the spatial audio encoding device 24 may apply the decomposition to the ambisonic coefficients 21 to decouple energy (as represented by the predominant audio signals) from the spatial characteristics (as represented by the spatial components).

The spatial audio encoding device 24 may analyze the decomposed version of the ambisonic coefficients 21 to identify various parameters, which may facilitate reordering of the decomposed version of the ambisonic coefficients 21. The spatial audio encoding device 24 may reorder the decomposed version of the ambisonic coefficients 21 based on the identified parameters, where such reordering may improve coding efficiency given that the transformation may reorder the ambisonic coefficients across frames of the ambisonic coefficients (where a frame commonly includes M samples of the decomposed version of the ambisonic coefficients 21 and M is, in some examples, set to 1024).

After reordering the decomposed version of the ambisonic coefficients 21, the spatial audio encoding device 24 may select one or more of the decomposed versions of the ambisonic coefficients 21 as representative of foreground (or, in other words, distinct, predominant or salient) components of the soundfield. The spatial audio encoding device 24 may specify the decomposed version of the ambisonic coefficients 21 representative of the foreground components (which may also be referred to as a “predominant sound signal,” a “predominant audio signal,” or a “predominant sound component”) and associated directional information (which may also be referred to as a “spatial component” or, in some instances, as a so-called “V-vector” that identifies spatial characteristics of the corresponding audio object). The spatial component may represent a vector with multiple different elements (which in terms of a vector may be referred to as “coefficients”) and thereby may be referred to as a “multidimensional vector.”

The spatial audio encoding device 24 may next perform a soundfield analysis with respect to the ambisonic coefficients 21 in order to, at least in part, identify the ambisonic coefficients 21 representative of one or more background (or, in other words, ambient) components of the soundfield. The background components may also be referred to as a “background audio signal” or an “ambient audio signal.” The spatial audio encoding device 24 may perform energy compensation with respect to the background audio signal given that, in some examples, the background audio signal may only include a subset of any given sample of the Ambisonic coefficients 21 (e.g., such as those corresponding to zero and first order spherical basis functions and not those corresponding to second or higher order spherical basis functions). When order-reduction is performed, in other words, the spatial audio encoding device 24 may augment (e.g., add/subtract energy to/from) the remaining background ambisonic coefficients of the ambisonic coefficients 21 to compensate for the change in overall energy that results from performing the order reduction.

The spatial audio encoding device 24 may next perform a form of interpolation with respect to the foreground directional information (which is another way of referring to the spatial components) and then perform an order reduction with respect to the interpolated foreground directional information to generate order reduced foreground directional information. The spatial audio encoding device 24 may further perform, in some examples, a quantization with respect to the order reduced foreground directional information, outputting coded foreground directional information. In some instances, this quantization may comprise a scalar/entropy quantization possibly in the form of vector quantization. The spatial audio encoding device 24 may then output the intermediately formatted audio data 25 as the background audio signals, the foreground audio signals, and the quantized foreground directional information.

In any event, the background audio signals and the foreground audio signals may comprise transport channels in some examples. That is, the spatial audio encoding device 24 may output a transport channel for each frame of the ambisonic coefficients 21 that includes a respective one of the background audio signals (e.g., M samples of one of the ambisonic coefficients 21 corresponding to the zero or first order spherical basis function) and for each frame of the foreground audio signals (e.g., M samples of the audio objects decomposed from the ambisonic coefficients 21). The spatial audio encoding device 24 may further output side information (which may also be referred to as “sideband information”) that includes the quantized spatial components corresponding to each of the foreground audio signals.

Collectively, the transport channels and the side information may be represented in the example of FIG. 1 as ambisonic transport format (ATF) audio data 25 (which is another way to refer to the intermediately formatted audio data). In other words, the AFT audio data 25 may include the transport channels and the side information (which may also be referred to as “metadata”). The ATF audio data 25 may conform to, as one example, an HOA (Higher Order Ambisonic) Transport Format (HTF). More information regarding the HTF can be found in a Technical Specification (TS) by the European Telecommunications Standards Institute (ETSI) entitled “Higher Order Ambisonics (HOA) Transport Format,” ETSI TS 103 589 V1.1.1, dated June 2018 (2018-06). As such, the ATF audio data 25 may be referred to as HTF audio data 25.

The spatial audio encoding device 24 may then transmit or otherwise output the ATF audio data 25 to psychoacoustic audio encoding device 26. The psychoacoustic audio encoding device 26 may perform psychoacoustic audio encoding with respect to the ATF audio data 25 to generate a bitstream 31. The psychoacoustic audio encoding device 26 may operate according to standardized, open-source, or proprietary audio coding processes. For example, the psychoacoustic audio encoding device 26 may perform psychoacoustic audio encoding according to any type of compression algorithm such as a unified speech and audio coder denoted as “USAC” set forth by the Moving Picture Experts Group (MPEG), the MPEG-H 3D audio coding standard, the MPEG-I Immersive Audio standard, or proprietary standards, such as AptX™(including various versions of AptX such as enhanced AptX—E-AptX, AptX live, AptX stereo, and AptX high definition—AptX-HD), advanced audio coding (AAC), Audio Codec 3 (AC-3), Apple Lossless Audio Codec (ALAC), MPEG-4 Audio Lossless Streaming (ALS), enhanced AC-3, Free Lossless Audio Codec (FLAC), Monkey's Audio, MPEG-1 Audio Layer II (MP2), MPEG-1 Audio Layer III (MP3), Opus, and Windows Media Audio (WMA). The content creator system 12 may then transmit the bitstream 31 via a transmission channel to the content consumer 14.

In some examples, the psychoacoustic audio encoding device 26 may represent one or more instances of a psychoacoustic audio coder, each of which is used to encode a transport channel of the ATF audio data 25. In some instances, this psychoacoustic audio encoding device 26 may represent one or more instances of an AptX encoding unit (as noted above). The psychoacoustic audio coder unit 26 may, in some instances, invoke an instance of an stereo encoding unit for each transport channel of the ATF audio data 25.

In some examples, to generate the different representations of the soundfield using ambisonic coefficients (which again is one example of the audio data 21), the audio encoder 22 may use a coding scheme for ambisonic representations of a soundfield, referred to as Mixed Order ambisonics (MOA) as discussed in more detail in U.S. application Ser. No. 15/672,058, entitled “MIXED-ORDER ambisonics (MOA) AUDIO DATA FO COMPUTER-MEDIATED REALITY SYSTEMS,” and filed Aug. 8, 2017, published as U.S. patent publication no. 2019/0007781 on Jan. 3, 2019.

To generate a particular MOA representation of the soundfield, the audio encoder 22 may generate a partial subset of the full set of ambisonic coefficients. For instance, each MOA representation generated by the audio encoder 22 may provide precision with respect to some areas of the soundfield, but less precision in other areas. In one example, an MOA representation of the soundfield may include eight (8) uncompressed ambisonic coefficients of the ambisonic coefficients, while the third order Ambisonic representation of the same soundfield may include sixteen (16) uncompressed ambisonic coefficients of the ambisonic coefficients. As such, each MOA representation of the soundfield that is generated as a partial subset of the ambisonic coefficients may be less storage-intensive and less bandwidth intensive (if and when transmitted as part of the bitstream 31 over the illustrated transmission channel) than the corresponding third order ambisonics representation of the same soundfield generated from the ambisonic coefficients.

Although described with respect to MOA representations, the techniques of this disclosure may also be performed with respect to first order ambisonic (FOA) representations in which all of the ambisonic coefficients corresponding to a spherical basis function having an order up to one are used to represent the soundfield. In other words, rather than represent the soundfield using a partial, non-zero subset of the ambisonic coefficients, the soundfield representation generator 302 may represent the soundfield using all of the ambisonic coefficients for an order of one.

In this respect, the higher order ambisonic audio data may include higher order ambisonic coefficients associated with spherical basis functions having an order of one or less (which may be referred to as “1^(st) order ambisonic audio data”), higher order ambisonic coefficients associated with spherical basis functions having a mixed order and suborder (which may be referred to as the “MOA representation” discussed above), or higher order ambisonic coefficients associated with spherical basis functions having an order greater than one.

Moreover, while shown in FIG. 1 as being directly transmitted to the content consumer 14, the content creator system 12 may output the bitstream 31 to an intermediate device positioned between the content creator system 12 and the content consumer 14. The intermediate device may store the bitstream 31 for later delivery to the content consumer 14, which may request this bitstream. The intermediate device may comprise a file server, a web server, a desktop computer, a laptop computer, a tablet computer, a mobile phone, a smart phone, or any other device capable of storing the bitstream 31 for later retrieval by an audio decoder. The intermediate device may reside in a content delivery network capable of streaming the bitstream 31 (and possibly in conjunction with transmitting a corresponding video data bitstream) to subscribers, such as the content consumer 14, requesting the bitstream 31.

Alternatively, the content creator system 12 may store the bitstream 31 to a storage medium, such as a compact disc, a digital video disc, a high definition video disc or other storage media, most of which are capable of being read by a computer and therefore may be referred to as computer-readable storage media or non-transitory computer-readable storage media. In this context, the transmission channel may refer to those channels by which content stored to these mediums are transmitted (and may include retail stores and other store-based delivery mechanism). In any event, the techniques of this disclosure should not therefore be limited in this respect to the example of FIG. 1.

As further shown in the example of FIG. 1, the content consumer 14 includes the audio playback system 16. The audio playback system 16 may represent any audio playback system capable of playing back multi-channel audio data. The audio playback system 16 may further include an audio decoding device 32. The audio decoding device 32 may represent a device configured to decode ambisonic coefficients 11′ from the bitstream 31, where the ambisonic coefficients 11′ may be similar to the ambisonic coefficients 11 but differ due to lossy operations (e.g., quantization) and/or transmission via the transmission channel.

The audio decoding device 32 may include a psychoacoustic audio decoding device 34 and a spatial audio decoding device 36. The psychoacoustic audio decoding device 34 may represent a unit configured to operate reciprocally to the psychoacoustic audio encoding device 26 to reconstruct the ATF audio data 25′ from the bitstream 31. Again, the prime notation with respect to the ATF audio data 25 output from the psychoacoustic audio decoding device 34 denotes that the ATF audio data 25′ may differ slightly from the ATF audio data 25 due to lossy or other operations performed during compression of the ATF audio data 25. The psychoacoustic audio decoding device 34 may be configured to perform decompression in accordance with standardized, open-source, or proprietary audio coding processing (such as the above noted AptX, the variations of AptX, AAC, the variations of AAC, etc.).

While described primarily below with respect to AptX, the techniques may be applied with respect to other psychoacoustic audio codecs. Examples of other psychoacoustic audio codecs include Audio Codec 3 (AC-3), Apple Lossless Audio Codec (ALAC), MPEG-4 Audio Lossless Streaming (ALS), aptX®, enhanced AC-3, Free Lossless Audio Codec (FLAC), Monkey's Audio, MPEG-1 Audio Layer II (MP2), MPEG-1 Audio Layer III (MP3), Opus, and Windows Media Audio (WMA).

In any event, the psychoacoustic audio decoding device 34 may perform psychoacoustic decoding with respect to the foreground audio objects specified in the bitstream 31 and the encoded ambisonic coefficients representative of background audio signals specified in the bitstream 31. In this manner, the psychoacoustic audio decoding device 34 may obtain the ATF audio data 25′ and output the ATF audio data 25′ to the spatial audio decoding device 36.

The spatial audio decoding device 36 may represent a unit configured to operate reciprocally to the spatial audio encoding device 24. That is, the spatial audio decoding device 36 may dequantize the foreground directional information specified in the bitstream 31. The spatial audio decoding device 36 may further perform dequantization with respect to the quantized foreground directional information to obtain decoded foreground directional information. The spatial audio decoding device 36 may next perform interpolation with respect to the decoded foreground directional information and then determine the ambisonic coefficients representative of the foreground components based on the decoded foreground audio signals and the interpolated foreground directional information. The spatial audio decoding device 36 may then determine the ambisonic coefficients 11′ based on the determined ambisonic coefficients representative of the foreground audio signals and the decoded ambisonic coefficients representative of the background audio signals.

The audio playback system 16 may, after decoding the bitstream 31 to obtain the ambisonic coefficients 11′, render the ambisonic coefficients 11′ to output speaker feeds 39. The audio playback system 16 may include a number of different audio renderers 38. The audio renderers 38 may each provide for a different form of rendering, where the different forms of rendering may include one or more of the various ways of performing vector-base amplitude panning (VBAP), one or more of the various ways of performing binaural rendering (e.g., head related transfer functions—HRTF, Binaural Room Impulse Response—BRIR, etc.), and/or one or more of the various ways of performing soundfield synthesis.

The audio playback system 16 may output speaker feeds 39 to one or more of speakers 40. The speaker feeds 39 may drive the speakers 40. The speakers 40 may represent loudspeakers (e.g., transducers placed in a cabinet or other housing), headphone speakers, or any other type of transducer capable of emitting sounds based on electrical signals.

To select the appropriate renderer or, in some instances, generate an appropriate renderer, the audio playback system 16 may obtain loudspeaker information 41 indicative of a number of the speakers 40 and/or a spatial geometry of the speakers 40. In some instances, the audio playback system 16 may obtain the loudspeaker information 41 using a reference microphone and driving the speakers 40 in such a manner as to dynamically determine the speaker information 41. In other instances, or in conjunction with the dynamic determination of the speaker information 41, the audio playback system 16 may prompt a user to interface with the audio playback system 16 and input the speaker information 41.

The audio playback system 16 may select one of the audio renderers 38 based on the speaker information 41. In some instances, the audio playback system 16 may, when none of the audio renderers 38 are within some threshold similarity measure (in terms of the loudspeaker geometry) to that specified in the speaker information 41, generate the one of audio renderers 38 based on the speaker information 41. The audio playback system 16 may, in some instances, generate the one of audio renderers 38 based on the speaker information 41 without first attempting to select an existing one of the audio renderers 38.

While described with respect to speaker feeds 39, the audio playback system 16 may render headphone feeds from either the speaker feeds 39 or directly from the ambisonic coefficients 11′, outputting the headphone feeds to headphone speakers. The headphone feeds may represent binaural audio speaker feeds, which the audio playback system 16 renders using a binaural audio renderer. As described above, the audio encoder 22 may invoke spatial audio encoding device 24 to perform spatial audio encoding (or otherwise compress) the ambisonic audio data 21 and thereby obtain the ATF audio data 25. During application of spatial audio encoding to the ambisonic audio data 21, the spatial audio encoding device 24 may obtain a foreground audio signal and a corresponding spatial component, which are specified in encoded form respectively as a transport channel and accompanying metadata (or sideband information).

The spatial audio encoding device 24 may, as noted above, encode the ambisonic audio data 21 to obtain the ATF audio data 25, which may include a plurality of transport channels that specify a plurality of background components, a plurality of foreground audio signals, and a corresponding plurality of spatial components. In some examples, the ATF audio data 25, when conforming to HTF, may include four foreground audio signals along with a first order ambisonic audio signal with coefficients corresponding to both a zero order spherical basis function and three first order spherical basis functions as background components for a total of four background components. The spatial audio encoding device 24 may output the ATF audio data 25 to the psychoacoustic audio encoding device 26, which may perform some form of psychoacoustic audio encoding.

In some examples, the psychoacoustic audio encoding device 26 may perform a form of stereo psychoacoustic audio encoding in which prediction between at least two transport channels of the ATF audio data 25 is performed to determine a difference, thereby potentially reducing the dynamic range of the transport channels. Given that stereo audio data only includes two channels that are relatively correlated in terms of height and position (relatively, although phases may differ), stereo psychoacoustic audio encoding algorithms may not perform any correlation with respect to the stereo audio data. As such, application of stereo psychoacoustic audio encoding to any given pairs of the transport channels of the ATF audio data 25 may result in less compression efficiency as any given pair of the transport channels may or may not have sufficient correlation to obtain sufficient dynamic gain reductions.

In accordance with various aspects of the techniques described in this disclosure, the psychoacoustic audio encoding device 26 may perform, prior to performing stereo or multi-channel psychoacoustic audio encoding with respect to the transport channels, correlation with respect to two or more of the transport channels of the ATF audio data 25 to obtain a correlation value. In some examples, the psychoacoustic audio encoding device 26 may perform correlation with respect to each unique pair of transport channels specifying background components and with respect to each unique pair of transport channels specifying foreground audio signals. In some examples, the psychoacoustic audio encoding device 26 may perform correlation with respect to each unit pair of transport channels (comparing, as one example, at least one background component to at least one foreground audio signal).

In any event, the psychoacoustic audio encoding device 26 may then reorder the transport channels based on the correlation values (pairing transport channels according to the highest correlation value). By potentially improving correlation prior to stereo psychoacoustic audio encoding, the techniques may potentially improve coding efficiency, thereby improving operation of the psychoacoustic audio encoding device 26 itself.

In operation, the spatial audio encoding device 24 may perform spatial audio encoding with respect to the scene-based audio data 21 to obtain the plurality of background components, the plurality of foreground audio signals and the corresponding plurality of spatial components as the ATF audio data 25. The spatial audio encoding device 24 may output the ATF audio data 25 to the psychoacoustic audio encoding device 26.

The psychoacoustic audio encoding device 26 may receive the background components and the foreground audio signals. As shown in the example of FIG. 1, the psychoacoustic audio encoding device 26 may include a correlation unit (CU) 46, which may perform the above noted correlation with respect to two or more of the plurality of background components and the plurality of foreground audio signals to obtain a plurality of correlated components. As discussed above, the CU 46 may perform correlation separately with respect to the background components and the foreground audio signal. In other examples, as noted above, the CU 46 may perform correlation with respect to both the background components and the foreground audio signal, where at least one background component and at least one foreground audio signal undergo correlation.

The CU 46 may obtain correlation values as a result of performing the correlation with respect to two or more of the background components and the foreground audio signals. The CU 46 may reorder the background components and the foreground audio signals based on the correlation values. The CU 46 may output reorder metadata to the spatial audio encoding device 24 indicative of how the transport channels were reordered, which the spatial audio encoding device 24 may specify in the metadata that includes the spatial components. Although described as specifying the reorder metadata in the metadata that includes the spatial components, the psychoacoustic audio encoding device 26 may specify the reorder metadata in the bitstream 31.

In any event, the CU 46 may output the reordered transport channel (which may specify a plurality of correlated components), whereupon the psychoacoustic audio encoding device 26 may perform psychoacoustic audio encoding with respect to the plurality of correlated components to obtain encoded components. As described in more detail below, the psychoacoustic audio encoding device 26 may perform the psychoacoustic audio encoding according to an AptX compression algorithm with respect to at least one pair of the plurality of correlated components to obtain a plurality of encoded components. The psychoacoustic audio encoding device 26 may specify, in the bitstream 31, the plurality of encoded components.

The audio decoder 32 may, as noted above, operate reciprocally to the audio encoder 22. As such, the audio decoder 32 may obtain the bitstream 31 and invoke the psychoacoustic audio decoding device 34. As noted above, the psychoacoustic audio decoding device 34 may perform the psychoacoustic audio decoding in accordance with an AptX decompression algorithm. Again, more information regarding the AptX decompression algorithm is described below with respect to the examples of FIGS. 5-10.

In any event, the psychoacoustic audio decoding device 34 may obtain, from the bitstream 31, the reorder metadata, which may represent an indication of how the one or more of the plurality of correlated components were reordered in the bitstream 31. As shown in the example of FIG. 1, the psychoacoustic audio decoding device 34 may include a reorder unit (RU) 54, which represents a unit configured to reorder, based on the reorder metadata, the plurality of correlated components to obtain a plurality of reordered components. The psychoacoustic audio decoding device 34 may reconstruct, based on the plurality of reordered components, the ATF audio data 25′. The spatial audio decoding device 36 may then reconstruct, based on the ATF audio data 25′, the scene-based audio data 21′.

FIG. 2 is a diagram illustrating another example of a system that may perform various aspects of the techniques described in this disclosure. The system 110 of FIG. 2 may represent one example of the system 10 shown in the example of FIG. 1. As shown in the example of FIG. 2, the system 110 includes a source device 112 and a sink device 114, where the source device 112 may represent an example of the content creator system 12 and the sink device 114 may represent an example of the content consumer 14 and/or the audio playback system 16.

Although described with respect to the source device 112 and the sink device 114, the source device 112 may operate, in some instances, as the sink device, and the sink device 114 may, in these and other instances, operate as the source device. As such, the example of system 110 shown in FIG. 2 is merely one example illustrative of various aspects of the techniques described in this disclosure.

In any event, the source device 112 may, as noted above, represent any form of computing device capable of implementing the techniques described in this disclosure, including a handset (or cellular phone, including a so-called “smartphone”), a tablet computer, a so-called smart phone, a remotely piloted aircraft (such as a so-called “drone”), a robot, a desktop computer, a receiver (such as an audio/visual—AV—receiver), a set-top box, a television (including so-called “smart televisions”), a media player (such as a digital video disc player, a streaming media player, a Blue-Ray Disc™ player, etc.), or any other device capable of communicating audio data wirelessly to a sink device via a personal area network (PAN). For purposes of illustration, the source device 112 is assumed to represent a smartphone.

The sink device 114 may represent any form of computing device capable of implementing the techniques described in this disclosure, including a handset (or, in other words, a cellular phone, a mobile phone, a mobile handset, etc.), a tablet computer, a smartphone, a desktop computer, a wireless headset (which may include wireless headphones that include or exclude a microphone, and so-called smart wireless headphones that include additional functionality such as fitness monitoring, on-board music storage and/or playback, dedicated cellular capabilities, etc.), a wireless speaker (including a so-called “smart speaker”), a watch (including so-called “smart watches”), or any other device capable of reproducing a soundfield based on audio data communicated wirelessly via the PAN. Also, for purposes of illustration, the sink device 114 is assumed to represent wireless headphones.

As shown in the example of FIG. 2, the source device 112 includes one or more applications (“apps”) 118A-118N (“apps 118”), a mixing unit 120, an audio encoder 122 (which includes a spatial audio encoding device—SAED—124 and a psychoacoustic audio encoding device—PAED—126), and a wireless connection manager 128. Although not shown in the example of FIG. 2, the source device 112 may include a number of other elements that support operation of apps 118, including an operating system, various hardware and/or software interfaces (such as user interfaces, including graphical user interfaces), one or more processors, memory, storage devices, and the like.

Each of the apps 118 represent software (such as a collection of instructions stored to a non-transitory computer readable media) that configure the system 110 to provide some functionality when executed by the one or more processors of the source device 112. The apps 118 may, to list a few examples, provide messaging functionality (such as access to emails, text messaging, and/or video messaging), voice calling functionality, video conferencing functionality, calendar functionality, audio streaming functionality, direction functionality, mapping functionality, gaming functionality. Apps 118 may be first party applications designed and developed by the same company that designs and sells the operating system executed by the source device 112 (and often pre-installed on the source device 112) or third-party applications accessible via a so-called “app store” or possibly pre-installed on the source device 112. Each of the apps 118, when executed, may output audio data 119A-119N (“audio data 119”), respectively.

In some examples, the audio data 119 may be generated from a microphone (not pictured, but similar to microphones 5 shown in the example of FIG. 1) connected to the source device 112. The audio data 119 may include ambisonic coefficients similar to ambisonic audio data 21 discussed above with respect to the example of FIG. 1, where such ambisonic audio data may be referred to as “scene-based audio data.” As such, the audio data 119 may also be referred to as “scene-based audio data 119” or “ambisonic audio data 119.”

Although described with respect to ambisonic audio data, the techniques may be performed with respect to ambisonic audio data that does not necessarily include coefficients corresponding to so-called “higher order” spherical basis functions (e.g., spherical basis functions having an order greater than one). Accordingly, the techniques may be performed with respect to ambisonic audio data that includes coefficients corresponding to only a zero order spherical basis function, or only a zero and first order spherical basis functions.

The mixing unit 120 represents a unit configured to mix one or more of audio data 119 output by the apps 118 (and other audio data output by the operating system—such as alerts or other tones, including keyboard press tones, ringtones, etc.) to generate mixed audio data 121. Audio mixing may refer to a process whereby multiple sounds (as set forth in the audio data 119) are combined into one or more channels. During mixing, the mixing unit 120 may also manipulate and/or enhance volume levels (which may also be referred to as “gain levels”), frequency content, and/or panoramic position of the ambisonics audio data 119. In the context of streaming the ambisonic audio data 119 over a wireless PAN session, the mixing unit 120 may output the mixed audio data 121 to the audio encoder 122.

The audio encoder 122 may be similar, if not substantially similar, to the audio encoder 22 described above in the example of FIG. 1. That is, the audio encoder 122 may represent a unit configured to encode the mixed audio data 121 and thereby obtain encoded audio data in the form of a bitstream 131. In some examples, the audio encoder 122 may encode individual ones of the audio data 119.

Referring for purposes of illustration to one example of the PAN protocols, Bluetooth® provides for a number of different types of audio codecs (which is a word resulting from combining the words “encoding” and “decoding”) and is extensible to include vendor specific audio codecs. The Advanced Audio Distribution Profile (A2DP) of Bluetooth® indicates that support for A2DP requires supporting a sub-band codec specified in A2DP. A2DP also supports codecs set forth in MPEG-1 Part 3 (MP2), MPEG-2 Part 3 (MP3), MPEG-2 Part 7 (advanced audio coding—AAC), MPEG-4 Part 3 (high efficiency-AAC—HE-AAC), and Adaptive Transform Acoustic Coding (ATRAC). Furthermore, as noted above, A2DP of Bluetooth® supports vendor specific codecs, such as aptX™ and various other versions of aptX (e.g., enhanced aptX—E-aptX, aptX live, and aptX high definition—aptX-HD).

The audio encoder 122 may operate consistent with one or more of any of the above listed audio codecs, as well as, audio codecs not listed above, but that operate to encode the mixed audio data 121 to obtain the encoded audio data 131 (which is another way to refer to the bitstream 131). The audio encoder 122 may first invoke the SAED 124, which may be similar if not substantially similar to SAED 24 shown in the example of FIG. 1. The SAED 124 may perform the above noted spatial audio compression with respect to the mixed audio data to obtain ATF audio data 125 (which may be similar if not substantially similar to the ATF audio data 25 shown in the example of FIG. 1). The SAED 124 may output the ATF audio data 25 to the PAED 126.

The PAED 126 may be similar if not substantially similar to the PAED 26 shown in the example of FIG. 1. The PAED 126 may perform psychoacoustic audio encoding according to any of the foregoing codecs (including AptX and variations thereof) to obtain the bitstream 131. The audio encoder 122 may output the encoded audio data 131 to one of the wireless communication units 130 (e.g., the wireless communication unit 130A) managed by the wireless connection manager 128.

The wireless connection manager 128 may represent a unit configured to allocate bandwidth within certain frequencies of the available spectrum to the different ones of the wireless communication units 130. For example, the Bluetooth® communication protocols operate over within the 2.5 GHz range of the spectrum, which overlaps with the range of the spectrum used by various WLAN communication protocols. The wireless connection manager 128 may allocate some portion of the bandwidth during a given time to the Bluetooth® protocol and different portions of the bandwidth during a different time to the overlapping WLAN protocols. The allocation of bandwidth and other is defined by a scheme 129. The wireless connection manager 128 may expose various application programmer interfaces (APIs) by which to adjust the allocation of bandwidth and other aspects of the communication protocols so as to achieve a specified quality of service (QoS). That is, the wireless connection manager 128 may provide the API to adjust the scheme 129 by which to control operation of the wireless communication units 130 to achieve the specified QoS.

In other words, the wireless connection manager 128 may manage coexistence of multiple wireless communication units 130 that operate within the same spectrum, such as certain WLAN communication protocols and some PAN protocols as discussed above. The wireless connection manager 128 may include a coexistence scheme 129 (shown in FIG. 2 as “scheme 129”) that indicates when (e.g., an interval) and how many packets each of the wireless communication units 130 may send, the size of the packets sent, and the like.

The wireless communication units 130 may each represent a wireless communication unit 130 that operates in accordance with one or more communication protocols to communicate the bitstream 131 via a transmission channel to the sink device 114. In the example of FIG. 2, the wireless communication unit 130A is assumed for purposes of illustration to operate in accordance with the Bluetooth® suite of communication protocols. It is further assumed that the wireless communication unit 130A operates in accordance with A2DP to establish a PAN link (over the transmission channel) to allow for delivery of the bitstream 131 from the source device 112 to the sink device 114. Although described with respect to a PAN link, various aspects of the techniques may be implemented with respect to any type of wired or wireless connection including cellular connections (such as so-called 3G, 4G and/or 5G cellular data services), WiFi™, etc.

More information concerning the Bluetooth® suite of communication protocols can be found in a document entitled “Bluetooth Core Specification v 5.0,” published Dec. 6, 2016, and available at: www.bluetooth.org/en-us/specification/adopted-specifications. More information concerning A2DP can be found in a document entitled “Advanced Audio Distribution Profile Specification,” version 1.3.1, published on Jul. 14, 2015.

The wireless communication unit 130A may output the bitstream 131 to the sink device 114 via a transmission channel, which is assumed to be a wireless channel in the example of Bluetooth. While shown in FIG. 2 as being directly transmitted to the sink device 114, the source device 112 may output the bitstream 131 to an intermediate device positioned between the source device 112 and the sink device 114. The intermediate device may store the bitstream 131 for later delivery to the sink device 14, which may request the bitstream 131. The intermediate device may comprise a file server, a web server, a desktop computer, a laptop computer, a tablet computer, a mobile phone, a smart phone, or any other device capable of storing the bitstream 131 for later retrieval by an audio decoder. This intermediate device may reside in a content delivery network capable of streaming the bitstream 131 (and possibly in conjunction with transmitting a corresponding video data bitstream) to subscribers, such as the sink device 114, requesting the bitstream 131.

Alternatively, the source device 112 may store the bitstream 131 to a storage medium, such as a compact disc, a digital video disc, a high definition video disc or other storage media, most of which are capable of being read by a computer and therefore may be referred to as computer-readable storage media or non-transitory computer-readable storage media. In this context, the transmission channel may refer to those channels by which content stored to these mediums are transmitted (and may include retail stores and other store-based delivery mechanism). In any event, the techniques of this disclosure should not therefore be limited in this respect to the example of FIG. 2.

As further shown in the example of FIG. 2, the sink device 114 includes a wireless connection manager 150 that manages one or more of wireless communication units 152A-152N (“wireless communication units 152”) according to a scheme 151, an audio decoder 132 (including a psychoacoustic audio decoding device—PADD—134 and a spatial audio decoding device—SADD—136), and one or more speakers 140A-140N (“speakers 140,” which may be similar to the speakers 40 shown in the example of FIG. 1). The wireless connection manager 150 may operate in a manner similar to that described above with respect to the wireless connection manager 128, exposing an API to adjust scheme 151 by which operation of the wireless communication units 152 to achieve a specified QoS.

The wireless communication units 152 may be similar in operation to the wireless communication units 130, except that the wireless communication units 152 operate reciprocally to the wireless communication units 130 to receive the bitstream 131 via the transmission channel. One of the wireless communication units 152 (e.g., the wireless communication unit 152A) is assumed to operate in accordance with the Bluetooth® suite of communication protocols and reciprocal to the wireless communication protocol. The wireless communication unit 152A may output the bitstream 131 to the audio decoder 132.

The audio decoder 132 may operate in a manner that is reciprocal to the audio encoder 122. The audio decoder 132 may operate consistent with one or more of any of the above listed audio codecs, as well as, audio codecs not listed above, but that operate to decode the encoded audio data 131 to obtain mixed audio data 121′. Again, the prime designation with respect to “mixed audio data 121” denotes that there may be some loss due to quantization or other lossy operations that occur during encoding by the audio encoder 122.

The audio decoder 132 may invoke the PADD 134 to perform psychoacoustic audio decoding with respect to the bitstream 131 to obtain ATF audio data 125′, which the PADD 134 may output to the SADD 136. The SADD 136 may perform spatial audio decoding to obtain the mixed audio data 121′. Although renderers (similar to the renderers 38 of FIG. 1) are not shown in the example of FIG. 2 for ease of illustration purposes, the audio decoder 132 may render the mixed audio data 121′ to speaker feeds (using any of the renderers, such as renderers 38 discussed above with respect to the example of FIG. 1) and output the speaker feeds to one or more of the speakers 140.

Each of the speakers 140 represent a transducer configured to reproduce a soundfield from the speaker feeds. The transducer may be integrated within the sink device 114 as shown in the example of FIG. 2 or may be communicatively coupled to the sink device 114 (via a wire or wirelessly). The speakers 140 may represent any form of speaker, such as a loudspeaker, a headphone speaker, or a speaker in an earbud. Furthermore, although described with respect to a transducer, the speakers 140 may represent other forms of speakers, such as the “speakers” used in bone conducting headphones that send vibrations to the upper jaw, which induces sound in the human aural system.

As described above, the PAED 126 may perform various aspects of the quantization techniques described above with respect to the PAED 26 to quantize, based on the foreground audio signal dependent bit allocation for the spatial component, the spatial component. The PADD 134 may also perform various aspects of the quantization techniques described above with respect to the PADD 34 to dequantize, based on the foreground audio signal dependent bit allocation for the spatial component, the quantized spatial component. More information about the PAED 126 is provided with respect to the example of FIGS. 3A-3C, while more information about the PADD 134 is provided with respect to the example of FIGS. 4A and 4B.

FIGS. 3A-3C are block diagrams that each illustrate, in more detail, an example of the psychoacoustic audio encoding device shown in the examples of FIGS. 1 and 2. Referring first to the example of FIG. 3A, the psychoacoustic audio encoder 226A may represent one example of the PAED 26 and/or the PAED 126. The PAED 226A may receive transport channels 225A-225N from AFT encoder 224 (where ATF encoder may represent another way to refer to the spatial audio encoding device 24). The ATF encoder 224 may perform spatial audio encoding with respect to ambisonic coefficients 221 (which may represent an example of the ambisonic coefficients 21) as described above with respect to the spatial audio encoding device 24.

The CU 46A of the PAED 226A (which may represent one example of CU 46 shown in FIG. 1) may obtain the transport channels 225, where transport channels 225A-225D may specify background components (and as such may be referred to as background transport channels 225) and the transport channels 225E-225H may specify foreground audio signals (and as such may be referred to as foreground transport channels 225). As shown in the example of FIG. 3A, the CU 46A may include a background (BG) correlation unit 228A, a foreground (FG) correlation unit 228B, a BG reordering unit 230A, and a FG reordering unit 230B.

The BG correlation unit 228A may represent a unit configured to perform correlation with respect to the background transport channels 225. As shown in the example of FIG. 3A, the BG correlation unit 228A may perform correlation only with respect to the background transport channels 225 to obtain BG correlation values 229A (which may be referred to as a BG correlation matrix 229A). As such, the BG correlation unit 228A may separately perform correlation with respect to the background transport channels 225 to obtain a plurality of correlated background transport channels 225, where the correlated background transport channels 225 are “correlated” via BG correlation matrix 229A. The BG correlation unit 228A may output the correlated background transport channels 225 and the correlation matrix to the BG reordering unit 230A.

The BG reordering unit 230A may represent a unit configured to reorder, based on the BG correlation matrix 229A, the correlated background transport channels 225 to obtain reordered background transport channels 231A-231D (“reordered background transport channels 231”). As mentioned above, the BG reordering unit 230 may reorder the correlated background transport channels 225 to match pairs of the correlated background transport channels 225 according to the highest correlation values between the pairs of the correlated background transport channels 225 set forth in the correlation matrix 229A.

As such, the BG reordering unit 230A may separately reorder only the correlated background transport channels 225 to obtain the reordered background transport channels 231. The BG reordering unit 230A may output BG reordering metadata 235A to a bitstream generator 256, where the BG reordering metadata 235A may represent an indication of how the reordered background transport channels 231 were reordered. The BG reordering unit 230A may output the reordered background transport channels 231 to the stereo encoders 250.

The FG correlation unit 228B may operate similarly to the BG correlation unit 228A, except with respect to the foreground transport channels 225. In this way, the FG correlation unit 228B may separately perform correlation with respect to the foreground transport channels 225 to obtain correlation matrix 229B, outputting correlated background transport channels and the correlation matrix 229B to the FG reordering unit 230B. In other words, the FG correlation unit 228B may perform correlation only with respect to the foreground transport channels 225 to obtain the correlation matrix 229B. The FG correlation unit 228A may output the correlated foreground transport channels 225 to the FG reordering unit 230B.

The FG reordering unit 230B may operate similarly to the BG reordering unit 230A to reorder, based on the FG correlation matrix 229B, the correlated foreground transport channels 225 and thereby obtain reordered foreground transport channels 231. The FG reordering unit 230B may reorder the correlated foreground transport channels 225 to match pairs of the correlated foreground transport channels 225 according to the highest correlation values between the pairs of the correlated foreground transport channels 225 set forth in the FG correlation matrix 229B.

As such, the FG reordering unit 230B may separately reorder only the correlated foreground transport channels 225 to obtain the reordered foreground transport channels 231. The FG reordering unit 230B may output BG reordering metadata 235B to the bitstream generator 256, where the BG reordering metadata 235B may represent an indication of how the reordered foreground transport channels 231 were reordered. The FG reordering unit 230B may output the reordered foreground transport channels 231 to the stereo encoders 250.

The PAED 226A may invoke instances of stereo encoder 250A-250N (“stereo encoders 250”), which may perform psychoacoustic audio encoding in accordance with any of the above noted stereo compression algorithm. The stereo encoders 250 may each process two transport channels to generate sub-bitstreams 233A-233N (“sub-bitstreams 233”).

To compress the transport channels, the stereo encoders 250 may perform a shape and gain analysis with respect to each of the reordered background and foreground transport channels 231 to obtain a shape and a gain representative of the transport channels 231. The stereo encoders 250 may also predict a first transport channel of the pairs of the transport channels 231 from a second transport channel of the pairs of the transport channels 231, predicting the gain and the shape representative of the first transport channel from the gain and the shape representative of the second transport channel to obtain a residual.

Prior to performing separate prediction for the gain, the stereo encoders 250 may first perform quantization with respect to the gain of the second transport channel to obtain a course quantized gain and one or more fine quantized residuals. In addition, the stereo encoders 250 may, prior to performing the separate prediction for the shape, perform quantization (e.g., vector quantization) with respect to the shape of the second transport channel to obtain a quantized shape. The stereo encoders 250 may then predict the first transport channel from the second transport channel using the quantized course and fine energies and the quantized shapes from the second transport channel to predict the quantized course and fine energies and the quantized shapes from the first transport channel.

The PAED 226A may further include a bitstream generator 256, which may receive the sub-bitstreams 233, the BG reordering metadata 235A, and the FG reordering metadata 235B. The bitstream generator 256 may represent a unit configured to specify, in a bitstream 231, the sub-bitstreams 233, the BG reordering metadata 235A, and the FG reordering metadata 235B. The bitstream 231 may represent an example of the bitstream 31 discussed above.

In the example of FIG. 3B, the PAED 226B is similar to the PAED 226A, except that PAED 226B includes a CU 46B in which a combined correlation unit 228C performs correlation with respect to all of the transport channels 225 to obtain a combined correlation matrix 229C. In this respect, the combined correlation unit 228C may perform correlation with respect to at least one background transport channel 225 and at least one foreground transport channel 225. The combined correlation unit 228C may output the combined correlation matrix 229C and the correlated transport channels 225 to the combined reordering unit 230C.

Moreover, PAED 226B differs from PAED 226A in that the combined reordering unit 230C may reorder, based on the combined correlation matrix 229C, the correlated transport channels 225 to obtain reordered transport channels 231 (which may include both background components and the foreground audio signals or some representations thereof). The combined correlation unit 230C may determine reordering metadata 235C, which may be indicative of how all of the transport channels 225 were reordered. The combined correlation matrix 229C may output the reordered transport channels 231 to the stereo decoders and the reordering metadata 235C to the bitstream generator 256, both of which function as described above to generate the bitstream 231.

In the example of FIG. 3C, the PAED 226C is similar to the PAED 226A, except that there are an odd number of channels such that stereo encoding cannot be performed with respect to one of the reordered transport channels 231 (i.e., the reordered transport channels 231G in the example of FIG. 3C). As such, the PAED 226C may invoke an instance of mono encoder 260, which may perform mono psychoacoustic audio encoding with respect to the reordered transport channel 231G as discussed in more detail with respect to FIGS. 7-10.

FIGS. 4A and 4B are block diagrams that each illustrate, in more detail, an example of the psychoacoustic audio decoding device shown in the examples of FIGS. 1 and 2. Referring first to the example of FIG. 4A, the PADD 334A may represent an example of the PADD 34 and/or the PADD 134. The PADD 334A may include a bitstream extractor 338, stereo decoders 340A-340N (“stereo decoders 340”), and the RU 54.

The bitstream extractor 338 may represent a unit configured to parse, from the bitstream 231, the sub-bitstreams 233, the reordering metadata 235 (which may refer to any of the reordering metadata 235A-235C discussed above), and ATF metadata 339. The bitstream extractor 338 may output each of the sub-bitstreams 233 to a separate instance of the stereo decoders 340. The bitstream extractor 338 may also output the reordering metadata 235 to the RU 54.

Each of the stereo decoders 340 may reconstruct, based on the quantized gain and the quantized shape set forth in the sub-bitstreams 233, the second transport channel of the pair of reordered transport channels 231′. Each of the stereo decoders 340 may then obtain, from the sub-bitstreams 233, the residuals representative of the first transport channel of the pair of reordered transport channels 231′. The stereo decoders 340 may add the residuals to the second transport channel to obtain the first correlated transport channel (e.g., correlated transport channel 231A′) from the second transport channel (e.g., correlated transport channel 231B′). The stereo decoders 340 may output the reordered transport channels 231′ to the RU 54.

The RU 54 may reorder, based on the reordering metadata 235, the reordered transport channels 231′. In some examples, when the BG reordering metadata 235A and the FG reordering metadata 235B are present in the reordering metadata 235, the RU 54 may separately reorder, based on the BG reordering metadata 235A, the reordered background transport channels 231′, while also separately reordering, based on the FG reordering metadata 235B, the reordered foreground transport channels 231′. In other examples, the plurality of reordered components include a background component correlated to a foreground audio signal, and the RU 54 may reorder, based on the common reordering metadata 235C, a mix of reordered transport channels 231′ specifying background components and foreground audio signals. The RU 54 may output reordered transport channels 225′ (which may also be referred to as the ATF audio data 225′) to the ATF decoder 336.

The ATF decoder 336 (which may perform operations similar, if not substantially similar, to the SADD 36 and/or the SADD 136) may receive the transport channels 225′ and the ATF metadata 339 and perform spatial audio decoding with respect to the transport channels 225′ and the spatial components defined by the ATF metadata 339 to obtain the scene-based audio data 221′. The scene-based audio data 221′ may represent an example of the scene-based audio data 21′ and/or the scene-based audio data 121′.

In the example of FIG. 4B, the PADD 334B is similar to the PADD 334A, except that there are an odd number of channels such that stereo decoding cannot be performed with respect to one of the sub-bitstreams 233 (i.e., the sub-bitstream 233D in the example of FIG. 4B). As such, the PADD 334B may invoke an instance of mono encoder 360, which may perform mono psychoacoustic audio encoding with respect to the sub-bitstream 233D as discussed in more detail with respect to FIGS. 7-10.

FIG. 5 is a block diagram illustrating, in more detail, an example of the encoder shown in the examples of FIGS. 3A-3C. The encoder 550 is shown as a multi-channel encoder, and represents an example of the stereo encoder 250 shown in the examples of FIGS. 3A and 3B (where the stereo encoder 250 may include only two channels, while the encoder 550 has been generalized to support N channels).

As shown in the example of FIG. 5, the encoder includes gain/shape analysis units 552A-552N (“gain/shape analysis units 552”), energy quantization units 556A-556N (“energy quantization units 556”), level difference units 558A-558N (“level difference units 558”), transform units 562A-562N (“transform units 562”) and vector quantizer 564. Each of the gain/shape analysis unit 552 may operate as described below with respect to the gain-shape analysis unit described below in FIGS. 7 and/or 9 to perform a gain-shape analysis with respect to each of the transport channels 551 to obtain gains 553A-553N (“gains 553”) and shapes 555A-555N (“shapes 555”).

Energy quantization unit 556 may operate as described below with respect to the energy quantizer of FIGS. 7 and/or 9 to quantize the gains 553 and thereby obtain quantized gains 557A-557N (“quantized gains 557”). The level difference units 558 may each represent a unit configured to compare a pair of gains 553 to determine a difference between the pair of gains 553. In this example, the level difference units 558 may compare a reference gain 553A to each of the remaining gains 553 to obtain gain differences 559A-559M (“gain differences 559”). The encoder 550 may specify the quantized reference gain 557A and the gain differences 559 in a bitstream.

The transform units 562 may perform sub-band analysis (as discussed below in more detail) and apply a transform (such as a KLT, which refers to a Karhunen-Loeve transform) to the sub-bands of the shapes 555 to output transformed shapes 563A-563N (“transformed shapes 563”). The vector quantizer 564 may perform vector quantization with respect to the transformed shapes 563 to obtain residual IDs 565A-565N (“residual IDs 565”), specifying the residual IDs 565 in the bitstream.

The encoder 550 may also determine a combined bit allocation 560 based on the number of bits allocated to the quantized gains 557 and the gain differences 559. The combined bit allocation 560 may represent one example of the bit allocations 251 discussed in more detail above.

FIG. 6 is a block diagram illustrating, in more detail, an example of the decoder of FIGS. 4A and 4B. The decoder 634 is shown as a multi-channel decoder, and represents an example of the stereo decoder 340 shown in the examples of FIGS. 4A and 4B (where the stereo decoder 340 may include only two channels, while the decoder 634 has been generalized to support N channels).

As shown in the example of FIG. 6, the decoder 634 includes level combination units 636A-636N (“level combination units 636”), a vector quantizer 638, energy dequantization units 640A-640N (“energy dequantization units 640”), inverse transform units 642A-642N (“transform units 642”), and gain/shape synthesis units 646A-646N (“gain/shape synthesis units 552”). The level combination units 636 may each represent a unit configured to combine the quantized reference gain 553A with each one of the gain differences 559 to determine the quantized gains 557.

Energy dequantization unit 640 may operate as described below with respect to the energy dequantizer of FIGS. 8 and/or 10 to dequantize the quantized gains 557 and thereby obtain gains 553′. The encoder 550 may specify the quantized reference gain 557A and the gain differences 559 in the ATF audio data.

The vector dequantizer 638 may perform vector quantization with respect to the residual IDs 565 to obtain transformed shapes 563′. The transform units 562 may perform apply an inverse transform (such as an inverse KLT) and perform sub-band synthesis (as discussed below in more detail) to the transformed shapes 563 to output shapes 555′.

Each of the gain/shape synthesis unit 552 may operate as described below with respect to the gain-shape analysis unit discussed with respect to the examples of FIGS. 7 and/or 9 to perform a gain-shape synthesis with respect to each of the gains 553′ and shapes 555′ to obtain transport channels 551′. The gain/shape synthesis units 646 may output transport channels 551′ to the ATF audio data.

The encoder 550 may also determine a combined bit allocation 560 based on the number of bits allocated to the quantized gains 557 and the gain differences 559. The combined bit allocation 560 may represent one example of the bit allocations 251 discussed in more detail above.

FIG. 7 is a block diagram illustrating an example of the psychoacoustic audio encoder of FIGS. 3A-3C configured to perform various aspects of the techniques described in this disclosure. The audio encoder 1000A may represent one example of the PAED 126, which may be configured to encode audio data for transmission over a personal area network or “PAN” (e.g., Bluetooth®). However, the techniques of this disclosure performed by the audio encoder 1000A may be used in any context where the compression of audio data is desired. In some examples, the audio encoder 1000A may be configured to encode the audio data 17 in accordance with as aptX™ audio codec, including, e.g., enhanced aptX—E-aptX, aptX live, and aptX high definition.

In the example of FIG. 7, the audio encoder 1000A may be configured to encode the audio data 25 using a gain-shape vector quantization encoding process that includes coding residual vector using compact maps. In a gain-shape vector quantization encoding process, the audio encoder 1000A is configured to encode both a gain (e.g., an energy level) and a shape (e.g., a residual vector defined by transform coefficients) of a subband of frequency domain audio data. Each subband of frequency domain audio data represents a certain frequency range of a particular frame of the audio data 25.

The audio data 25 may be sampled at a particular sampling frequency. Example sampling frequencies may include 48 kHz or 44.1 kHZ, though any desired sampling frequency may be used. Each digital sample of the audio data 25 may be defined by a particular input bit depth, e.g., 16 bits or 24 bits. In one example, the audio encoder 1000A may be configured operate on a single channel of the audio data 21 (e.g., mono audio). In another example, the audio encoder 1000A may be configured to independently encode two or more channels of the audio data 25. For example, the audio data 17 may include left and right channels for stereo audio. In this example, the audio encoder 1000A may be configured to encode the left and right audio channels independently in a dual mono mode. In other examples, the audio encoder 1000A may be configured to encode two or more channels of the audio data 25 together (e.g., in a joint stereo mode). For example, the audio encoder 1000A may perform certain compression operations by predicting one channel of the audio data 25 with another channel of the audio data 25.

Regardless of how the channels of the audio data 25 are arranged, the audio encoder 1000A obtains the audio data 25 and sends that audio data 25 to a transform unit 1100. The transform unit 1100 is configured to transform a frame of the audio data 25 from the time domain to the frequency domain to produce frequency domain audio data 1112. A frame of the audio data 25 may be represented by a predetermined number of samples of the audio data. In one example, a frame of the audio data 25 may be 1024 samples wide. Different frame widths may be chosen based on the frequency transform being used and the amount of compression desired. The frequency domain audio data 1112 may be represented as transform coefficients, where the value of each the transform coefficients represents an energy of the frequency domain audio data 1112 at a particular frequency.

In one example, the transform unit 1100 may be configured to transform the audio data 25 into the frequency domain audio data 1112 using a modified discrete cosine transform (MDCT). An MDCT is a “lapped” transform that is based on a type-IV discrete cosine transform. The MDCT is considered “lapped” as it works on data from multiple frames. That is, in order to perform the transform using an MDCT, transform unit 1100 may include a fifty percent overlap window into a subsequent frame of audio data. The overlapped nature of an MDCT may be useful for data compression techniques, such as audio encoding, as it may reduce artifacts from coding at frame boundaries. The transform unit 1100 need not be constrained to using an MDCT but may use other frequency domain transformation techniques for transforming the audio data 17 into the frequency domain audio data 1112.

A subband filter 1102 separates the frequency domain audio data 1112 into subbands 1114. Each of the subbands 1114 includes transform coefficients of the frequency domain audio data 1112 in a particular frequency range. For instance, the subband filter 1102 may separate the frequency domain audio data 1112 into twenty different subbands. In some examples, subband filter 1102 may be configured to separate the frequency domain audio data 1112 into subbands 1114 of uniform frequency ranges. In other examples, subband filter 1102 may be configured to separate the frequency domain audio data 1112 into subbands 1114 of non-uniform frequency ranges.

For example, subband filter 1102 may be configured to separate the frequency domain audio data 1112 into subbands 1114 according to the Bark scale. In general, the subbands of a Bark scale have frequency ranges that are perceptually equal distances. That is, the subbands of the Bark scale are not equal in terms of frequency range, but rather, are equal in terms of human aural perception. In general, subbands at the lower frequencies will have fewer transform coefficients, as lower frequencies are easier to perceive by the human aural system. As such, the frequency domain audio data 1112 in lower frequency subbands of the subbands 1114 is less compressed by the audio encoder 1000A, as compared to higher frequency subbands. Likewise, higher frequency subbands of the subbands 1114 may include more transform coefficients, as higher frequencies are harder to perceive by the human aural system. As such, the frequency domain audio 1112 in data in higher frequency subbands of the subbands 1114 may be more compressed by the audio encoder 1000A, as compared to lower frequency subbands.

The audio encoder 1000A may be configured to process each of subbands 1114 using a subband processing unit 1128. That is, the subband processing unit 1128 may be configured to process each of subbands separately. The subband processing unit 1128 may be configured to perform a gain-shape vector quantization process with extended-range coarse-fine quantization in accordance with techniques of this disclosure.

A gain-shape analysis unit 1104 may receive the subbands 1114 as an input. For each of subbands 1114, the gain-shape analysis unit 1104 may determine an energy level 1116 of each of the subbands 1114. That is, each of subbands 1114 has an associated energy level 1116. The energy level 1116 is a scalar value in units of decibels (dBs) that represents the total amount of energy (also called gain) in the transform coefficients of a particular one of subbands 1114. The gain-shape analysis unit 1104 may separate energy level 1116 for one of subbands 1114 from the transform coefficients of the subbands to produce residual vector 1118. The residual vector 1118 represents the so-called “shape” of the subband. The shape of the subband may also be referred to as the spectrum of the subband.

A vector quantizer 1108 may be configured to quantize the residual vector 1118. In one example, the vector quantizer 1108 may quantize the residual vector using a quantization process to produce the residual ID 1124. Instead of quantizing each sample separately (e.g., scalar quantization), the vector quantizer 1108 may be configured to quantize a block of samples included in the residual vector 1118 (e.g., a shape vector). Any vector quantization techniques method can be used along with the extended-range coarse-fine energy quantization processes.

In some examples, the audio encoder 1000A may dynamically allocate bits for coding the energy level 1116 and the residual vector 1118. That is, for each of subbands 1114, the audio encoder 1000A may determine the number of bits allocated for energy quantization (e.g., by the energy quantizer 1106) and the number of bits allocated for vector quantization (e.g., by the vector quantizer 1108). The total number of bits allocated for energy quantization may be referred to as energy-assigned bits. These energy-assigned bits may then be allocated between a coarse quantization process and a fine quantization process.

An energy quantizer 1106 may receive the energy level 1116 of the subbands 1114 and quantize the energy level 1116 of the subbands 1114 into a coarse energy 1120 and a fine energy 1122 (which may represent one or more quantized fine residuals). This disclosure will describe the quantization process for one subband, but it should be understood that the energy quantizer 1106 may perform energy quantization on one or more of the subbands 1114, including each of the subbands 1114.

In general, the energy quantizer 1106 may perform a recursive two-step quantization process. Energy quantizer 1106 may first quantize the energy level 1116 with a first number of bits for a coarse quantization process to generate the coarse energy 1120. The energy quantizer 1106 may generate the coarse energy using a predetermined range of energy levels for the quantization (e.g., the range defined by a maximum and a minimum energy level. The coarse energy 1120 approximates the value of the energy level 1116.

The energy quantizer 1106 may then determine a difference between the coarse energy 1120 and the energy level 1116. This difference is sometimes called a quantization error. The energy quantizer 1106 may then quantize the quantization error using a second number of bits in a fine quantization process to produce the fine energy 1122. The number of bits used for the fine quantization bits is determined by the total number of energy-assigned bits minus the number of bits used for the coarse quantization process. When added together, the coarse energy 1120 and the fine energy 1122 represent a total quantized value of the energy level 1116. The energy quantizer 1106 may continue in this manner to produce one or more fine energies 1122.

The audio encoder 1000A may be further configured to encode the coarse energy 1120, the fine energy 1122, and the residual ID 1124 using a bitstream encoder 1110 to create the encoded audio data 31 (which is another way to refer to the bitstream 31). The bitstream encoder 1110 may be configured to further compress the coarse energy 1120, the fine energy 1122, and the residual ID 1124 using one or more entropy encoding processes. Entropy encoding processes may include Huffman coding, arithmetic coding, context-adaptive binary arithmetic coding (CABAC), and other similar encoding techniques.

In one example of the disclosure, the quantization performed by the energy quantizer 1106 is a uniform quantization. That is, the step sizes (also called “resolution”) of each quantization are equal. In some examples, the steps sizes may be in units of decibels (dBs). The step size for the coarse quantization and the fine quantization may be determined, respectively, from a predetermined range of energy values for the quantization and the number of bits allocated for the quantization. In one example, the energy quantizer 1106 performs uniform quantization for both coarse quantization (e.g., to produce the coarse energy 1120) and fine quantization (e.g., to produce the fine energy 1122).

Performing a two-step, uniform quantization process is equivalent to performing a single uniform quantization process. However, by splitting the uniform quantization into two parts, the bits allocated to coarse quantization and fine quantization may be independently controlled. This may allow for more flexibility in the allocation of bits across energy and vector quantization and may improve compression efficiency. Consider an M-level uniform quantizer, where M defines the number of levels (e.g., in dB) into which the energy level may be divided. M may be determined by the number of bits allocated for the quantization. For example, the energy quantizer 1106 may use M1 levels for coarse quantization and M2 levels for fine quantization. This equivalent to a single uniform quantizer using M1*M2 levels.

FIG. 8 is a block diagram illustrating an implementation of the psychoacoustic audio decoder of FIGS. 4A and 4B in more detail. The audio decoder 1002A may represent one example of the decoders 510, which may be configured to decode audio data received over a PAN (e.g., Bluetooth®). However, the techniques of this disclosure performed by the audio decoder 1002A may be used in any context where the compression of audio data is desired. In some examples, the audio decoder 1002A may be configured to decode the audio data 21 in accordance with as aptX™ audio codec, including, e.g., enhanced aptX—E-aptX, aptX live, and aptX high definition. However, the techniques of this disclosure may be used in any audio codec configured to perform quantization of audio data. The audio decoder 1002A may be configured to perform various aspects of a quantization process using compact maps in accordance with techniques of this disclosure.

In general, the audio decoder 1002A may operate in a reciprocal manner with respect to audio encoder 1000A. As such, the same process used in the encoder for quality/bitrate scalable cooperative PVQ can be used in the audio decoder 1002A. The decoding is based on the same principals, with inverse of the operations conducted in the decoder, so that audio data can be reconstructed from the encoded bitstream received from encoder. Each quantizer has an associated dequantizater counterpart. For example, as shown in FIG. 8, inverse transform unit 1100′, inverse subband filter 1102′, gain-shape synthesis unit 1104′, energy dequantizer 1106′, vector dequantizer 1108′, and bitstream decoder 1110′may be respectively configured to perform inverse operations with respect to transform unit 1100, subband filter 1102, gain-shape analysis unit 1104, energy quantizer 1106, vector quantizer 1108, and bitstream encoder 1110 of FIG. 7.

In particular, the gain-shape synthesis unit 1104′ reconstructs the frequency domain audio data, having the reconstructed residual vectors along with the reconstructed energy levels. The inverse subband filter 1102′ and the inverse transform unit 1100′ output the reconstructed audio data 25′. In examples where the encoding is lossless, the reconstructed audio data 25′ may perfectly match the audio data 25. In examples where the encoding is lossy, the reconstructed audio data 25′ may not perfectly match the audio data 25.

FIGS. 9A and 9B are block diagrams illustrating additional examples of the psychoacoustic audio encoder shown in the examples of FIGS. 3A-3C in more detail. Referring first to the example of FIG. 9A, the audio encoder 1000B may be configured to encode audio data for transmission over a PAN (e.g., Bluetooth®). However, again, the techniques of this disclosure performed by the audio encoder 1000B may be used in any context where the compression of audio data is desired. In some examples, the audio encoder 1000B may be configured to encode the audio data 25 in accordance with as aptX™ audio codec, including, e.g., enhanced aptX—E-aptX, aptX live, and aptX high definition. However, the techniques of this disclosure may be used in any audio codec. As will be explained in more detail below, the audio encoder 1000B may be configured to perform various aspects of perceptual audio coding in accordance with various aspects of the techniques described in this disclosure.

In the example of FIG. 9A, the audio encoder 1000B may be configured to encode the audio data 25 using a gain-shape vector quantization encoding process. In a gain-shape vector quantization encoding process, the audio encoder 1000B is configured to encode both a gain (e.g., an energy level) and a shape (e.g., a residual vector defined by transform coefficients) of a sub-band of frequency domain audio data. Each sub-band of frequency domain audio data represents a certain frequency range of a particular frame of the audio data 25. In general, throughout this disclosure, the term “sub-band” represents a frequency range, a band, or the like.

The audio encoder 1000B invokes a transform unit 1100 to process the audio data 25. The transform unit 1100 is configured to process the audio data 25 by, at least in part, applying a transform to a frame of the audio data 25 and thereby transform the audio data 25 from a time domain to a frequency domain to produce frequency domain audio data 1112.

A frame of the audio data 25 may be represented by a predetermined number of samples of the audio data. In one example, a frame of the audio data 25 may be 1024 samples wide. Different frame widths may be chosen based on the frequency transform being used and the amount of compression desired. The frequency domain audio data 1112 may be represented as transform coefficients, where the value of each the transform coefficients represents an energy of the frequency domain audio data 1112 at a particular frequency.

In one example, the transform unit 1100 may be configured to transform the audio data 25 into the frequency domain audio data 1112 using a modified discrete cosine transform (MDCT). An MDCT is a “lapped” transform that is based on a type-IV discrete cosine transform. The MDCT is considered “lapped” as it works on data from multiple frames. That is, in order to perform the transform using an MDCT, transform unit 1100 may include a fifty percent overlap window into a subsequent frame of audio data. The overlapped nature of an MDCT may be useful for data compression techniques, such as audio encoding, as it may reduce artifacts from coding at frame boundaries. The transform unit 1100 need not be constrained to using an MDCT but may use other frequency domain transformation techniques for transforming the audio data 25 into the frequency domain audio data 1112.

A sub-band filter 1102 separates the frequency domain audio data 1112 into sub-bands 1114. Each of the sub-bands 1114 includes transform coefficients of the frequency domain audio data 1112 in a particular frequency range. For instance, the sub-band filter 1102 may separate the frequency domain audio data 1112 into twenty different sub-bands. In some examples, sub-band filter 1102 may be configured to separate the frequency domain audio data 1112 into sub-bands 1114 of uniform frequency ranges. In other examples, sub-band filter 1102 may be configured to separate the frequency domain audio data 1112 into sub-bands 1114 of non-uniform frequency ranges.

For example, sub-band filter 1102 may be configured to separate the frequency domain audio data 1112 into sub-bands 1114 according to the Bark scale. In general, the sub-bands of a Bark scale have frequency ranges that are perceptually equal distances. That is, the sub-bands of the Bark scale are not equal in terms of frequency range, but rather, are equal in terms of human aural perception. In general, sub-bands at the lower frequencies will have fewer transform coefficients, as lower frequencies are easier to perceive by the human aural system.

As such, the frequency domain audio data 1112 in lower frequency sub-bands of the sub-bands 1114 is less compressed by the audio encoder 1000B, as compared to higher frequency sub-bands. Likewise, higher frequency sub-bands of the sub-bands 1114 may include more transform coefficients, as higher frequencies are harder to perceive by the human aural system. As such, the frequency domain audio 1112 in data in higher frequency sub-bands of the sub-bands 1114 may be more compressed by the audio encoder 1000B, as compared to lower frequency sub-bands.

The audio encoder 1000B may be configured to process each of sub-bands 1114 using a sub-band processing unit 1128. That is, the sub-band processing unit 1128 may be configured to process each of sub-bands separately. The sub-band processing unit 1128 may be configured to perform a gain-shape vector quantization process.

A gain-shape analysis unit 1104 may receive the sub-bands 1114 as an input. For each of sub-bands 1114, the gain-shape analysis unit 1104 may determine an energy level 1116 of each of the sub-bands 1114. That is, each of sub-bands 1114 has an associated energy level 1116. The energy level 1116 is a scalar value in units of decibels (dBs) that represents the total amount of energy (also called gain) in the transform coefficients of a particular one of sub-bands 1114. The gain-shape analysis unit 1104 may separate energy level 1116 for one of sub-bands 1114 from the transform coefficients of the sub-bands to produce residual vector 1118. The residual vector 1118 represents the so-called “shape” of the sub-band. The shape of the sub-band may also be referred to as the spectrum of the sub-band.

A vector quantizer 1108 may be configured to quantize the residual vector 1118. In one example, the vector quantizer 1108 may quantize the residual vector using a quantization process to produce the residual ID 1124. Instead of quantizing each sample separately (e.g., scalar quantization), the vector quantizer 1108 may be configured to quantize a block of samples included in the residual vector 1118 (e.g., a shape vector).

In some examples, the audio encoder 1000B may dynamically allocate bits for coding the energy level 1116 and the residual vector 1118. That is, for each of sub-bands 1114, the audio encoder 1000B may determine the number of bits allocated for energy quantization (e.g., by an energy quantizer 1106) and the number of bits allocated for vector quantization (e.g., by the vector quantizer 1108). The total number of bits allocated for energy quantization may be referred to as energy-assigned bits. These energy-assigned bits may then be allocated between a coarse quantization process and a fine quantization process.

An energy quantizer 1106 may receive the energy level 1116 of the sub-bands 1114 and quantize the energy level 1116 of the sub-bands 1114 into a coarse energy 1120 and a fine energy 1122. This disclosure will describe the quantization process for one sub-band, but it should be understood that the energy quantizer 1106 may perform energy quantization on one or more of the sub-bands 1114, including each of the sub-bands 1114.

As shown in the example of FIG. 9A, the energy quantizer 1106 may include a prediction/difference (“P/D”) unit 1130, a coarse quantization (“CQ”) unit 1132, a summation unit 1134, and a fine quantization (“FQ”) unit 1136. The P/D unit 1130 may predict or otherwise identify a difference between energy levels 1116 for one of the sub-bands 1114 and another one of the sub-bands 1114 of the same frame of audio data (which may refer to spatial—in the frequency domain—prediction) or a same (or possibly a different) one of the sub-bands 1114 from a different frame (which may be referred to as temporal prediction). The P/D unit 1130 may analyze the energy levels 1116 in this manner to obtain predicted energy levels 1131 (“PEL 1131”) for each of the sub-bands 1114. The P/D unit 1130 may output the predicted energy levels 1131 to the coarse quantization unit 1132.

The coarse quantization unit 1132 may represent a unit configured to perform coarse quantization with respect to the predicted energy levels 1131 to obtain the coarse energy 1120. The coarse quantization unit 1132 may output the coarse energy 1120 to the bitstream encoder 1110 and the summation unit 1134. The summation unit 1134 may represent a unit configured to obtain a difference of the coarse quantization unit 1134 and the predicted energy level 1131. The summation unit 1134 may output the difference as error 1135 (which may also be referred to as “residual 1135”) to the fine quantization unit 1135.

The fine quantization unit 1132 may represent a unit configured to perform fine quantization with respect to the error 1135. The fine quantization may be considered “fine” relative to the coarse quantization performed by the coarse quantization unit 1132. That is, the fine quantization unit 1132 may quantize according to a step size having a higher resolution than the step size used when performing the coarse quantization, thereby further quantizing the error 1135. The fine quantization unit 1136 may obtain a fine energy 1122 for each for the sub-bands 1122 as a result of performing the fine quantization with respect to the error 1135. The fine quantization unit 1136 may output the fine energy 1122 to the bitstream encoder 1110.

In general, the energy quantizer 1106 may perform a multi-step quantization process. The energy quantizer 1106 may first quantize the energy level 1116 with a first number of bits for a coarse quantization process to generate the coarse energy 1120. The energy quantizer 1106 may generate the coarse energy using a predetermined range of energy levels for the quantization (e.g., the range defined by a maximum and a minimum energy level. The coarse energy 1120 approximates the value of the energy level 1116.

The energy quantizer 1106 may then determine a difference between the coarse energy 1120 and the energy level 1116. This difference is sometimes called a quantization error (or, residual). The energy quantizer 1106 may then quantize the quantization error using a second number of bits in a fine quantization process to produce the fine energy 1122. The number of bits used for the fine quantization bits is determined by the total number of energy-assigned bits minus the number of bits used for the coarse quantization process. When added together, the coarse energy 1120 and the fine energy 1122 represent a total quantized value of the energy level 1116.

The audio encoder 1000B may be further configured to encode the coarse energy 1120, the fine energy 1122, and the residual ID 1124 using a bitstream encoder 1110 to create the encoded audio data 21. The bitstream encoder 1110 may be configured to further compress the coarse energy 1120, the fine energy 1122, and the residual ID 1124 using one or more of the above noted entropy encoding processes.

The energy quantizer 1106 (and/or components thereof, such as the fine quantization unit 1136) may, in accordance with aspects of this disclosure, implement a hierarchical rate control mechanism to provide a greater degree of scalability and to achieve a seamless or substantially seamless real-time streaming. For instance, the fine quantization unit 1136 may implement a hierarchical fine quantization scheme according to aspects of this disclosure. In some examples, the fine quantization unit 1136 invokes a multiplexer (or “MUX”) 1137 to implement selection operations of the hierarchical rate control.

The term “coarse quantization” refers to the combined operations of the two-step coarse-fine quantization processes described above. In accordance with various aspects of this disclosure, the fine quantization unit 1136 may perform one or more additional iterations of fine quantization with respect to the error 1135 received from the summation unit 1134. The fine quantization unit 1136 may use the multiplexer 1137 to switch between and traverse various fine(r) energy levels.

The hierarchical rate control may refer to a tree-based fine quantization structure or a cascaded fine quantization structure. When viewed as a tree-based structure, the existing two-step quantization operation forms a root node of the tree, and the root node is described as having a resolution depth of one (1). Depending on availability of bits for further fine quantization in accordance with the techniques of this disclosure, the multiplexer 1137 may select additional level(s) of fine-grained quantization. Any such subsequent fine quantization levels selected by the multiplexer 1137 represent resolution depths of two (2), three (3), and so on, with respect to the tree-based structure that represents the multiple-level fine quantization techniques of this disclosure.

The fine quantization unit 1136 may provide improved scalability and control with respect to seamless real-time streaming scenarios in a wireless PAN. For instance, the fine quantization unit 1136 may replicate the hierarchical fine quantization scheme and quantization multiplexing tree at higher level hierarchies, seeded at coarse quantization points of a more general decision tree. Moreover, the fine quantization unit 1136 may enable the audio encoder 1000B to achieve seamless or substantially seamless real-time compression and streaming navigation. For instance, the fine quantization unit 1136 may perform a multiple-root hierarchical decision structure with respect to multiple-level fine quantization, thereby enabling the energy quantizer 1106 to utilize the total available bits to implement potentially several iterations of fine quantization.

The fine quantization unit 1136 may implement the hierarchical rate control processes in a variety of ways. The fine quantization unit 1136 may invoke the multiplexer 1137 on a per-sub-band basis to independently multiplex (and thereby select a respective tree-based quantization scheme) for error 1135 information pertaining to each one of the sub-bands 1114. That is, in these examples, the fine quantization unit 1136 performs a multiplexing-based hierarchical quantization mechanism selection for each respective sub-band 1114 independently of the quantization mechanism selection for any other ones of sub-bands 1114. In these examples, the fine quantization unit 1136 quantizes each of sub-bands 1114 according to a target bitrate specified with respect to the respective sub-band 1114 only. In these examples, the audio encoder 1000B may signal, as part of the encoded audio data 21, details of the particular hierarchical quantization scheme for each of the sub-bands 1114.

In other examples, the fine quantization unit 1136 may invoke the multiplexer 1137 just once, and thereby select a single multiplexing-based quantization scheme for the error 1135 information pertaining to all of sub-bands 1114. That is, in these examples, the fine quantization unit 1136 quantizes the error 1135 information pertaining to all of sub-bands 1114 according to the same target bitrate, which is selected a single time and defined uniformly for all of the sub-bands 1114. In these examples, the audio encoder 1000B may signal, as part of the encoded audio data 21, details of the single hierarchical quantization scheme applied across all of the sub-bands 1114.

Referring next to the example of FIG. 9B, audio encoder 1000C may represent another example of psychoacoustic audio encoding device 26 and/or 126 shown in the examples of FIGS. 1 and 2. The audio encoder 1000C is similar to the audio encoder 1000B shown in the example of FIG. 9A, except that the audio encoder 1000C includes a general analysis unit 1148 that may perform the gain-synthesis analysis or any other type of analysis to output level 1149 and residual 1151, a quantization controller unit 1150, a general quantizer 1156, and a cognitive/perceptual/hearing/psychoacoustic (CPHP) quantizer 1160.

The general analysis unit 1148 may receive sub-bands 1114 and perform any type of analysis to generate the levels 1149 and the residual 1151. The general analysis unit 1148 may output level 1149 to quantization controller unit 1150 and the residual 1151 to CPHP quantizer 1160.

The quantization controller unit 1150 may receive level 1149. As shown in the example of FIG. 9B, the quantization controller unit 1150 may include a hierarchical specification unit 1152 and a specification control (SC) manager unit 1154. The quantization controller unit 1150, responsive to receiving level 1149, may invoke the hierarchical specification unit 1152, which may perform either a top/down or bottom/up hierarchical specification. FIG. 11 is a diagram illustrating an example of top-down quantization. FIG. 12 is a diagram illustrating an example of bottom-up quantization. That is, the hierarchical specification unit 1152 may switch back and forth between course and fine quantization on a frame-by-frame basis to enable a re-quantization mechanism that could make any given quantization coarser or finer.

From a course state to a finer state, the transition may happen by re-quantizing the preceding quantization error. Alternatively, the quantization may occur such that neighboring quantization points are grouped together into a single quantization point (moving from the fine state to the course state). Such implementations may use sequential data structure, such as a linked list or more rich structures, such as a tree or graph. As such, the hierarchical specification unit 1152 may determine whether to switch from fine to course quantization or from course to fine quantization, providing the hierarchical space 1153 (which is the set of quantization points for the current frame) to the SC manager unit 1154. The hierarchical specification unit 1152 may determine whether to switch between finer or courser quantization based on any information used to perform the fine or course quantization specified above (e.g., a temporal or spatial priority information).

The SC manager unit 1154 may receive the hierarchical space 1153 and generate specification metadata 1155, passing an indication 1159 of the hierarchical space 1153 to bitstream encoder 1110 along with the specification metadata 1155. SC manager unit 1154 may also output the hierarchical specification 1159 to the quantizer 1156, which may perform quantization according to the hierarchical space 1159 with respect to level 1149 to obtain quantized level 1157. The quantizer 1156 may output quantized level 1157 to the bitstream encoder 1110, which may operate as described above to form the encoded audio data 31.

The CPHP quantizer 1160 may perform one or more of cognitive, perceptual, hearing, psychoacoustic encoding with respect to residual 1151 to obtain a residual ID 1161. The CPHP quantizer 1160 may output residual ID 1161 to bitstream encoder 1110, which may operate as described above to form the encoded audio data 31.

FIGS. 10A and 10B are block diagrams illustrating additional examples of the psychoacoustic audio decoder of FIGS. 4A and 4B in more detail. In the example of FIG. 10A, the audio decoder 1002B represents another example of the AptX decoders 510 shown in the examples of FIG. 3A. The audio decoder 1002B includes an extraction unit 1232, a sub-band reconstruction unit 1234, and a reconstruction unit 1236. The extraction unit 1232 may represent a unit configured to extract the coarse energy 1120, the fine energy 1122, and the residual ID 1124 from the encoded audio data 31. The extraction unit 1232 may extract, based on the energy bit allocation 1203, one or more of the coarse energy 1120, the fine energy 1122, and the residual ID 1124. The extraction unit 1232 may output the coarse energy 1120, the fine energy 1122 and the residual ID 1124 to the sub-band reconstruction unit 1234.

The sub-band reconstruction unit 1234 may represent a unit configured to operate in a manner that is reciprocal to the operation of the sub-band processing unit 1128 of the audio encoder 1000B shown in the example of FIG. 9A. The sub-band reconstruction unit 1234 may, in other words, reconstruct the sub-bands from the coarse energy 1120, the fine energy 1122, and the residual ID 1124. The sub-band reconstruction unit 1234 may include an energy dequantizer 1238, a vector dequantizer 1240, and a sub-band composer 1242.

The energy dequantizer 1238 may represent a unit configured to perform dequantization in a manner reciprocal to the quantization performed by the energy quantizer 1106 illustrated in FIG. 9A. The energy dequantizer 1238 may perform dequantization with respect to the coarse energy 1122 and the fine energy 1122 to obtain the predicted/difference energy levels, which the energy dequantizer 1238 may perform inverse prediction or difference calculations to obtain the energy level 1116. The energy dequantizer 1238 may output the energy level 1116 to the sub-band composer 1242.

If the encoded audio data 31 includes a syntax element set to a value indicating that the fine energy 1122 was quantized hierarchically, then the energy dequantizer 1238 may hierarchically dequantize the fine energy 1122. In some examples, the encoded audio data 31 may include a syntax element that indicates whether the hierarchically-quantized fine energy 1122 was formed using the same hierarchical quantization structure across all of the sub-bands 1114, or a respective hierarchical quantization structure was determined individually with respect to each of the sub-bands 1114. Based on the value of the syntax element, the energy dequantizer 1238 may either apply the same hierarchical dequantization structure across all of the sub-bands 1114 as represented by the fine energy 1122, or may update the hierarchical dequantization structure on a per-sub-band basis when dequantizing the fine energy 1122.

The vector dequantizer 1240 may represent a unit configured to perform vector dequantization in a manner reciprocal to the vector quantization performed by the vector quantizer 1108. The vector dequantizer 1240 may perform vector dequantization with respect to the residual ID 1124 to obtain the residual vector 1118. The vector dequantizer 1240 may output the residual vector 1118 to the sub-band composer 1242.

The sub-band composer 1242 may represent a unit configured to operate in a manner reciprocal to the gain-shape analysis unit 1104. As such, the sub-band composer 1242 may perform inverse gain-shape analysis with respect to the energy level 1116 and the residual vector 1118 to obtain the sub-bands 1114. The sub-band composer 1242 may output the sub-bands 1114 to the reconstruction unit 1236.

The reconstruction unit 1236 may represent a unit configured to reconstruct, based on the sub-bands 1114, the audio data 25′. The reconstruction unit 1236 may, in other words, perform inverse sub-band filtering in a manner reciprocal to the sub-band filtering applied by the sub-band filter 1102 to obtain the frequency domain audio data 1112. The reconstruction unit 1236 may next perform an inverse transform in a manner reciprocal to the transform applied by the transform unit 1100 to obtain the audio data 25′.

Referring next to the example of FIG. 10B, audio decoder 1002C may represent one example of the psychoacoustic audio decoding device 34 and/or 134 shown in the examples of FIG. 1 and/or 2. Moreover, the audio decoder 1002C may be similar to the audio decoder 1002B, except that the audio decoder 1002C may include abstraction control manager 1250, hierarchical abstraction unit 1252, dequantizer 1254 as well as CPHP dequantizer 1256.

Abstraction control manager 1250 and hierarchical abstraction unit 1252 may form a dequantizer controller 1249 that controls operation of dequantizer 1254, operating reciprocally to the quantizer controller 1150. As such, the abstraction control manager 1250 may operate reciprocally to SC manager unit 1154, receiving metadata 1155 and hierarchical specification 1159. The abstraction control manager 1250 processes the metadata 1155 and the hierarchical specification 1159 to obtain hierarchical space 1153, which the abstraction control manager 1250 outputs to the hierarchical abstraction unit 1252. The hierarchical abstraction unit 1252 may operate reciprocally to the hierarchical specification unit 1152, thereby processing the hierarchical space 1153 to output an indication 1159 of the hierarchical space 1153 to dequantizer 1254.

The dequantizer 1254 may operate reciprocally to the quantizer 1156, where the dequantizer 1254 may dequantize quantized levels 1157 using the indication 1159 of the hierarchical space 1153 to obtain dequantized levels 1149. The dequantizer 1254 may output the dequantized levels 1149 to the sub-band composer 1242.

The extraction unit 1232 may output the residual ID 1161 to CPHP dequantizer 1256, which may operate reciprocally to the CPHP quantizer 1160. The CPHP dequantizer 1256 may process the residual ID 1161 to dequantize the residual ID 1161 and obtain residual 1161. The CPHP dequantizer 1256 may output the residual to sub-band composer 1242, which may process the residual 1151 and the dequantized levels 1254 to output sub-bands 1114. The reconstruction unit 1236 may operate as described above to convert the sub-bands 1114 into audio data 25′ by applying an inverse subband filter with respect to the sub-bands 1114 and then applying an inverse transform to the output of the inverse subband filter.

FIG. 13 is a block diagram illustrating example components of the source device shown in the example of FIG. 2. In the example of FIG. 13, the source device 112 includes a processor 412, a graphics processing unit (GPU) 414, system memory 416, a display processor 418, one or more integrated speakers 140, a display 103, a user interface 420, antenna 421, and a transceiver module 422. In examples where the source device 112 is a mobile device, the display processor 418 is a mobile display processor (MDP). In some examples, such as examples where the source device 112 is a mobile device, the processor 412, the GPU 414, and the display processor 418 may be formed as an integrated circuit (IC).

For example, the IC may be considered as a processing chip within a chip package and may be a system-on-chip (SoC). In some examples, two of the processors 412, the GPU 414, and the display processor 418 may be housed together in the same IC and the other in a different integrated circuit (i.e., different chip packages) or all three may be housed in different ICs or on the same IC. However, it may be possible that the processor 412, the GPU 414, and the display processor 418 are all housed in different integrated circuits in examples where the source device 12 is a mobile device.

Examples of the processor 412, the GPU 414, and the display processor 418 include, but are not limited to, one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. The processor 412 may be the central processing unit (CPU) of the source device 12. In some examples, the GPU 414 may be specialized hardware that includes integrated and/or discrete logic circuitry that provides the GPU 414 with massive parallel processing capabilities suitable for graphics processing. In some instances, GPU 414 may also include general purpose processing capabilities, and may be referred to as a general-purpose GPU (GPGPU) when implementing general purpose processing tasks (i.e., non-graphics related tasks). The display processor 418 may also be specialized integrated circuit hardware that is designed to retrieve image content from the system memory 416, compose the image content into an image frame, and output the image frame to the display 103.

The processor 412 may execute various types of the applications 20. Examples of the applications 20 include web browsers, e-mail applications, spreadsheets, video games, other applications that generate viewable objects for display, or any of the application types listed in more detail above. The system memory 416 may store instructions for execution of the applications 20. The execution of one of the applications 20 on the processor 412 causes the processor 412 to produce graphics data for image content that is to be displayed and the audio data 21 that is to be played (possibly via integrated speaker 105). The processor 412 may transmit graphics data of the image content to the GPU 414 for further processing based on and instructions or commands that the processor 412 transmits to the GPU 414.

The processor 412 may communicate with the GPU 414 in accordance with a particular application processing interface (API). Examples of such APIs include the DirectX® API by Microsoft®, the OpenGL® or OpenGL ES® by the Khronos group, and the OpenCL™; however, aspects of this disclosure are not limited to the DirectX, the OpenGL, or the OpenCL APIs, and may be extended to other types of APIs. Moreover, the techniques described in this disclosure are not required to function in accordance with an API, and the processor 412 and the GPU 414 may utilize any technique for communication.

The system memory 416 may be the memory for the source device 12. The system memory 416 may comprise one or more computer-readable storage media. Examples of the system memory 416 include, but are not limited to, a random-access memory (RAM), an electrically erasable programmable read-only memory (EEPROM), flash memory, or other medium that can be used to carry or store desired program code in the form of instructions and/or data structures and that can be accessed by a computer or a processor.

In some examples, the system memory 416 may include instructions that cause the processor 412, the GPU 414, and/or the display processor 418 to perform the functions ascribed in this disclosure to the processor 412, the GPU 414, and/or the display processor 418. Accordingly, the system memory 416 may be a computer-readable storage medium having instructions stored thereon that, when executed, cause one or more processors (e.g., the processor 412, the GPU 414, and/or the display processor 418) to perform various functions.

The system memory 416 may include a non-transitory storage medium. The term “non-transitory” indicates that the storage medium is not embodied in a carrier wave or a propagated signal. However, the term “non-transitory” should not be interpreted to mean that the system memory 416 is non-movable or that its contents are static. As one example, the system memory 416 may be removed from the source device 12 and moved to another device. As another example, memory, substantially similar to the system memory 416, may be inserted into the source device 12. In certain examples, a non-transitory storage medium may store data that can, over time, change (e.g., in RAM).

The user interface 420 may represent one or more hardware or virtual (meaning a combination of hardware and software) user interfaces by which a user may interface with the source device 12. The user interface 420 may include physical buttons, switches, toggles, lights or virtual versions thereof. The user interface 420 may also include physical or virtual keyboards, touch interfaces—such as a touchscreen, haptic feedback, and the like.

The processor 412 may include one or more hardware units (including so-called “processing cores”) configured to perform all or some portion of the operations discussed above with respect to one or more of the mixing unit 120, the audio encoder 122, the wireless connection manager 128, and the wireless communication units 130. The antenna 421 and the transceiver module 422 may represent a unit configured to establish and maintain the wireless connection between the source device 12 and the sink device 114. The antenna 421 and the transceiver module 422 may represent one or more receivers and/or one or more transmitters capable of wireless communication in accordance with one or more wireless communication protocols. That is, the transceiver module 422 may represent a separate transmitter, a separate receiver, both a separate transmitter and a separate receiver, or a combined transmitter and receiver. The antenna 421 and the transceiver 422 may be configured to receive encoded audio data that has been encoded according to the techniques of this disclosure. Likewise, the antenna 421 and the transceiver 422 may be configured to transmit encoded audio data that has been encoded according to the techniques of this disclosure. The transceiver module 422 may perform all or some portion of the operations of one or more of the wireless connection manager 128 and the wireless communication units 130.

FIG. 14 is a block diagram illustrating exemplary components of the sink device shown in the example of FIG. 2. Although the sink device 114 may include components similar to that of the source device 112 discussed above in more detail with respect to the example of FIG. 13, the sink device 14 may, in certain instances, include only a subset of the components discussed above with respect to the source device 112.

In the example of FIG. 14, the sink device 114 includes one or more speakers 802, a processor 812, a system memory 816, a user interface 820, an antenna 821, and a transceiver module 822. The processor 812 may be similar or substantially similar to the processor 812. In some instances, the processor 812 may differ from the processor 412 in terms of total processing capacity or may be tailored for low power consumption. The system memory 816 may be similar or substantially similar to the system memory 416. The speakers 140, the user interface 820, the antenna 821, and the transceiver module 822 may be similar to or substantially similar to the respective speakers 440, user interface 420, and transceiver module 422. The sink device 114 may also optionally include a display 800, although the display 800 may represent a low power, low resolution (potentially a black and white LED) display by which to communicate limited information, which may be driven directly by the processor 812.

The processor 812 may include one or more hardware units (including so-called “processing cores”) configured to perform all or some portion of the operations discussed above with respect to one or more of the wireless connection manager 150, the wireless communication units 152, and the audio decoder 132. The antenna 821 and the transceiver module 822 may represent a unit configured to establish and maintain the wireless connection between the source device 112 and the sink device 114. The antenna 821 and the transceiver module 822 may represent one or more receivers and one or more transmitters capable of wireless communication in accordance with one or more wireless communication protocols. The antenna 821 and the transceiver 822 may be configured to receive encoded audio data that has been encoded according to the techniques of this disclosure. Likewise, the antenna 821 and the transceiver 822 may be configured to transmit encoded audio data that has been encoded according to the techniques of this disclosure. The transceiver module 822 may perform all or some portion of the operations of one or more of the wireless connection manager 150 and the wireless communication units 152.

FIG. 15 is a flowchart illustrating example operation of the audio encoder shown in the example of FIG. 1 in performing various aspects of the techniques described in this disclosure. The audio encoder 22 may invoke the spatial audio encoding device 24, which may perform spatial audio encoding with respect to the scene-based audio data 21 to obtain the plurality of background components, the plurality of foreground audio signals and the corresponding plurality of spatial components as the ATF audio data 25 (1300). The spatial audio encoding device 24 may output the ATF audio data 25 to the psychoacoustic audio encoding device 26.

The psychoacoustic audio encoding device 26 may receive the background components and the foreground audio signals. As shown in the example of FIG. 1, the psychoacoustic audio encoding device 26 may include a correlation unit (CU) 46, which may perform the above noted correlation with respect to two or more of the plurality of background components and the plurality of foreground audio signals to obtain a plurality of correlated components (1302). As discussed above, the CU 46 may perform correlation separately with respect to the background components and the foreground audio signal. In other examples, as noted above, the CU 46 may perform correlation with respect to both the background components and the foreground audio signal, where at least one background component and at least one foreground audio signal undergo correlation.

The CU 46 may obtain correlation values as a result of performing the correlation with respect to two or more of the background components and the foreground audio signals. The CU 46 may reorder the background components and the foreground audio signals based on the correlation values. The CU 46 may output reorder metadata to the spatial audio encoding device 24 indicative of how the transport channels were reordered, which the spatial audio encoding device 24 may specify in the metadata that includes the spatial components. Although described as specifying the reorder metadata in the metadata that includes the spatial components, the psychoacoustic audio encoding device 26 may specify the reorder metadata in the bitstream 31.

In any event, the CU 46 may output the reordered transport channel (which may specify a plurality of correlated components), whereupon the psychoacoustic audio encoding device 26 may perform psychoacoustic audio encoding with respect to the plurality of correlated components to obtain encoded components (1304). The psychoacoustic audio encoding device 26 may specify, in the bitstream 31, the plurality of encoded components (1306).

FIG. 16 is a flowchart illustrating example operation of the audio decoder shown in the example of FIG. 1 in performing various aspects of the techniques described in this disclosure. The audio decoder 32 may, as noted above, operate reciprocally to the audio encoder 22. As such, the audio decoder 32 may obtain, from the bitstream 31, a plurality of encoded correlated components (1400). The audio decoder 32 may invoke the psychoacoustic audio decoding device 34, which may perform psychoacoustic audio decoding with respect to the one or more of the plurality of encoded correlated components to obtain a plurality of correlated components (1401).

The psychoacoustic audio decoding device 34 may obtain, from the bitstream 31, the reorder metadata, which may represent an indication of how the one or more of the plurality of correlated components were reordered in the bitstream 31 (1402). As shown in the example of FIG. 1, the psychoacoustic audio decoding device 34 may include a reorder unit (RU) 54, which represents a unit configured to reorder, based on the reorder metadata, the plurality of correlated components to obtain a plurality of reordered components (1404). The psychoacoustic audio decoding device 34 may reconstruct, based on the plurality of reordered components, the ATF audio data 25′ (1406). The spatial audio decoding device 36 may then reconstruct, based on the ATF audio data 25′, the scene-based audio data 21′.

The foregoing aspects of the techniques may enable implementations according to the following clauses.

Clause 1F. A device configured to encode scene-based audio data, the device comprising: a memory configured to store the scene-based audio data; and one or more processors configured to: perform spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; perform correlation with respect to two or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; perform psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specify, in a bitstream, the encoded components.

Clause 2F. The device of clause 1F, wherein the one or more processors are configured to perform psychoacoustic audio encoding according to an AptX compression algorithm with respect to the at least one pair of the plurality of correlated components.

Clause 3F. The device of any combination of clauses 1F and 2F, wherein the one or more processors are configured to perform psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated components to obtain encoded components.

Clause 4F. The device of any combination of clauses 1F-3F, wherein the one or more processors are configured to: separately perform correlation with respect to the plurality of background components to obtain a plurality of correlated background components of the plurality of correlated components; and perform psychoacoustic audio encoding with respect to at least one pair of the plurality of background components.

Clause 5F. The device of any combination of clauses 1F-4F, wherein the one or more processors are configured to: separately perform correlation with respect to the plurality of foreground audio signals to obtain a plurality of correlated foreground audio signals of the plurality of correlated components; and perform psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated foreground audio signals.

Clause 6F. The device of any combination of clauses 1F-5F, wherein the one or more processors are configured to perform correlation with respect to at least one of the plurality of background components and at least one of the plurality of foreground audio signals to obtain at least one pair of the plurality of correlated components.

Clause 7F. The device of any combination of clauses 1F-6F, wherein the one or more processors are further configured to: reorder, based on the correlation, one or more of the plurality of background components and the plurality of foreground audio signals in the bitstream; and specify, in the bitstream, an indication representative of how the one or more of the plurality of background components the plurality of foreground audio signals were reordered in the bitstream.

Clause 8F. The device of any combination of clauses 1F-7F, wherein the one or more processors are configured to perform a linear invertible transform with respect to the scene-based audio data to obtain the plurality of foreground audio signals and the corresponding plurality of spatial components.

Clause 9F. The device of any combination of clauses 1F-8F, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 10F. The device of any combination of clauses 1F-9F, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 11F. The device of any combination of clauses 1F-10F, wherein each of the plurality of foreground audio signals comprises a foreground audio signal defined in the spherical harmonic domain, and wherein each of the corresponding plurality of spatial components comprises a spatial component defined in the spherical harmonic domain.

Clause 12F. A method of encoding scene-based audio data, the method comprising: performing spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; performing correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; performing psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specifying, in a bitstream, the encoded components.

Clause 13F. The method of clause 12F, wherein performing psychoacoustic audio encoding comprises performing psychoacoustic audio encoding according to an AptX compression algorithm with respect to the at least one pair of the plurality of correlated components.

Clause 14F. The method of any combination of clauses 12F and 13F, wherein performing psychoacoustic audio encoding comprises performing psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated components to obtain encoded components.

Clause 15F. The method of any combination of clauses 12F-14F, wherein performing correlation comprises separately performing correlation with respect to the plurality of background components to obtain a plurality of correlated background components of the plurality of correlated components, and wherein performing psychoacoustic audio encoding comprises performing psychoacoustic audio encoding with respect to at least one pair of the plurality of background components.

Clause 16F. The method of any combination of clauses 12F-15F, wherein performing correlation comprises separately perform correlation with respect to the plurality of foreground audio signals to obtain a plurality of correlated foreground audio signals of the plurality of correlated components, and wherein performing psychoacoustic audio encoding comprises performing psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated foreground audio signals.

Clause 17F. The method of any combination of clauses 12F-16F, wherein performing correlation comprises performing correlation with respect to at least one of the plurality of background components and at least one of the plurality of foreground audio signals to obtain at least one pair of the plurality of correlated components.

Clause 18F. The method of any combination of clauses 12F-17F, further comprising: reordering, based on the correlation, one or more of the plurality of background components and the plurality of foreground audio signals in the bitstream; and specifying, in the bitstream, an indication representative of how the one or more of the plurality of background components the plurality of foreground audio signals were reordered in the bitstream.

Clause 19F. The method of any combination of clauses 12F-18F, wherein performing the spatial audio encoding comprises performing a linear invertible transform with respect to the scene-based audio data to obtain the plurality of foreground audio signals and the corresponding plurality of spatial components.

Clause 20F. The method of any combination of clauses 12F-19F, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 21F. The method of any combination of clauses 12F-20F, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 22F. The method of any combination of clauses 12F-21F, wherein each of the plurality of foreground audio signals comprises a foreground audio signal defined in the spherical harmonic domain, and wherein each of the corresponding plurality of spatial components comprises a spatial component defined in the spherical harmonic domain.

Clause 23F. A device configured to encode scene-based audio data, the device comprising: means for performing spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; means for performing correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; means for performing psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and means for specifying, in a bitstream, the encoded components.

Clause 24F. The device of clause 23F, wherein the means for performing psychoacoustic audio encoding comprises means for performing psychoacoustic audio encoding according to an AptX compression algorithm with respect to the at least one pair of the plurality of correlated components.

Clause 25F. The device of any combination of clauses 23F and 24F, wherein the means for performing psychoacoustic audio encoding comprises means for performing psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated components to obtain encoded components.

Clause 26F. The device of any combination of clauses 23F-25F, wherein the means for performing correlation comprises means for separately performing correlation with respect to the plurality of background components to obtain a plurality of correlated background components of the plurality of correlated components, and wherein the means for performing psychoacoustic audio encoding comprises means for performing psychoacoustic audio encoding with respect to at least one pair of the plurality of background components.

Clause 27F. The device of any combination of clauses 23F-26F, wherein the means for performing correlation comprises means for separately perform correlation with respect to the plurality of foreground audio signals to obtain a plurality of correlated foreground audio signals of the plurality of correlated components, and wherein the means for performing psychoacoustic audio encoding comprises means for performing psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated foreground audio signals.

Clause 28F. The device of any combination of clauses 23F-27F, wherein the means for performing correlation comprises means for performing correlation with respect to at least one of the plurality of background components and at least one of the plurality of foreground audio signals to obtain at least one pair of the plurality of correlated components.

Clause 29F. The device of any combination of clauses 23F-28F, further comprising: means for reordering, based on the correlation, one or more of the plurality of background components and the plurality of foreground audio signals in the bitstream; and means for specifying, in the bitstream, an indication representative of how the one or more of the plurality of background components the plurality of foreground audio signals were reordered in the bitstream.

Clause 30F. The device of any combination of clauses 23F-29F, wherein the means for performing the spatial audio encoding comprises means for performing a linear invertible transform with respect to the scene-based audio data to obtain the plurality of foreground audio signals and the corresponding plurality of spatial components.

Clause 31F. The device of any combination of clauses 23F-30F, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 32F. The device of any combination of clauses 23F-31F, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 33F. The device of any combination of clauses 23F-32F, wherein each of the plurality of foreground audio signals comprises a foreground audio signal defined in the spherical harmonic domain, and wherein each of the corresponding plurality of spatial components comprises a spatial component defined in the spherical harmonic domain.

Clause 34F. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to: perform spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; perform correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; perform psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specify, in a bitstream, the encoded components.

Clause 1G. A device configured to decode a bitstream representative of scene-based audio data, the device comprising: a memory configured to store the bitstream, the bitstream including a plurality of encoded correlated components of a soundfield represented by the scene-based audio data; and one or more processors configured to: perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstruct, based on the plurality of reordered components, the scene-based audio data.

Clause 2G. The device of clause 1G, wherein the one or more processors are configured to perform psychoacoustic audio decoding according to an AptX compression algorithm with respect to the plurality of encoded correlated components.

Clause 3G. The device of any combination of clauses 1G and 2G, wherein the one or more processors are configured to perform psychoacoustic audio decoding with respect to at least one pair of the plurality of encoded correlated components to obtain the plurality of correlated components.

Clause 4G. The device of any combination of clauses 1G-3G, wherein the one or more processors are configured to separately reorder, based on the indication, a plurality of correlated background components of the plurality of correlated components to obtain a plurality of reordered background components of the plurality of reordered components.

Clause 5G. The device of any combination of clauses 1G-4G, wherein the one or more processors are configured to separately reorder, based on the indication, a plurality of correlated foreground audio signals of the plurality of correlated components to obtain a plurality of reordered foreground audio signals of the plurality of reordered components.

Clause 6G. The device of any combination of clauses 1G-5G, wherein the plurality of correlated components include a background component correlated to a foreground audio signal.

Clause 7G. The device of any combination of clauses 1G-6G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than one.

Clause 8G. The device of any combination of clauses 1G-6G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 9G. The device of any combination of clauses 1G-6G, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 10G. The device of any combination of clauses 1G-9G, wherein the one or more processors are further configured to render the scene-based audio data to one or more speaker feeds, and wherein the device further comprises speakers configured to reproduce, based on the speaker feeds, the soundfield represented by the scene-based audio data.

Clause 11G. A method of decoding a bitstream representative of scene-based audio data, the method comprising: obtaining, from the bitstream, a plurality of encoded correlated components; performing psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtaining, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reordering, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstructing, based on the plurality of reordered components, the scene-based audio data.

Clause 12G. The method of clause 11G, wherein performing psychoacoustic audio decoding comprises performing psychoacoustic audio decoding according to an AptX compression algorithm with respect to the plurality of encoded correlated components.

Clause 13G. The method of any combination of clauses 11G and 12G, wherein performing psychoacoustic audio decoding comprises performing psychoacoustic audio decoding with respect to at least one pair of the plurality of encoded correlated components to obtain the plurality of correlated components.

Clause 14G. The method of any combination of clauses 11G-13G, wherein reordering the plurality of correlated components comprises separately reordering, based on the indication, a plurality of correlated background components of the plurality of correlated components to obtain a plurality of reordered background components of the plurality of reordered components.

Clause 15G. The method of any combination of clauses 11G-14G, wherein reordering the plurality of correlated components comprises separately reordering, based on the indication, a plurality of correlated foreground audio signals of the plurality of correlated components to obtain a plurality of reordered foreground audio signals of the plurality of reordered components.

Clause 16G. The method of any combination of clauses 11G-15G, wherein the plurality of correlated components include a background component correlated to a foreground audio signal.

Clause 17G. The method of any combination of clauses 11G-16G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than one.

Clause 18G. The method of any combination of clauses 11G-16G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 19G. The method of any combination of clauses 11G-16G, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 20G. The method of any combination of clauses 11G-19G, further comprising: rendering the scene-based audio data to one or more speaker feeds; and outputting the one or more speaker feeds to one or more speakers.

Clause 21G. A device configured to decode a bitstream representative of scene-based audio data, the device comprising: means for obtaining, from the bitstream, a plurality of encoded correlated components; means for performing psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; means for obtaining, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; means for reordering, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and means for reconstructing, based on the plurality of reordered components, the scene-based audio data.

Clause 22G. The device of clause 21G, wherein the means for performing psychoacoustic audio decoding comprises means for performing psychoacoustic audio decoding according to an AptX compression algorithm with respect to the plurality of encoded correlated components.

Clause 23G. The device of any combination of clauses 21G and 22G, wherein the means for performing psychoacoustic audio decoding comprises means for performing psychoacoustic audio decoding with respect to at least one pair of the plurality of encoded correlated components to obtain the plurality of correlated components.

Clause 24G. The device of any combination of clauses 21G-23G, wherein the means for reordering the plurality of correlated components comprises means for separately reordering, based on the indication, a plurality of correlated background components of the plurality of correlated components to obtain a plurality of reordered background components of the plurality of reordered components.

Clause 25G. The device of any combination of clauses 21G-24G, wherein the means for reordering the plurality of correlated components comprises means for separately reordering, based on the indication, a plurality of correlated foreground audio signals of the plurality of correlated components to obtain a plurality of reordered foreground audio signals of the plurality of reordered components.

Clause 26G. The device of any combination of clauses 21G-25G, wherein the plurality of correlated components include a background component correlated to a foreground audio signal.

Clause 27G. The device of any combination of clauses 21G-26G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than one.

Clause 28G. The device of any combination of clauses 21G-26G, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.

Clause 29G. The device of any combination of clauses 21G-26G, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.

Clause 30G. The device of any combination of clauses 21G-29G, further comprising: means for rendering the scene-based audio data to one or more speaker feeds; and means for outputting the one or more speaker feeds to one or more speakers.

Clause 31G. A non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause one or more processors to: obtain, from a bitstream representative of scene-based audio data, a plurality of encoded correlated components; perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstruct, based on the plurality of reordered components, the scene-based audio data.

In some contexts, such as broadcasting contexts, the audio encoding device may be split into a spatial audio encoder, which performs a form of intermediate compression with respect to the ambisonic representation that includes gain control, and a psychoacoustic audio encoder 26 (which may also be referred to as a “perceptual audio encoder 26”) that performs perceptual audio compression to reduce redundancies in data between the gain normalized transport channels.

In addition, the foregoing techniques may be performed with respect to any number of different contexts and audio ecosystems and should not be limited to any of the contexts or audio ecosystems described above. A number of example contexts are described below, although the techniques should be limited to the example contexts. One example audio ecosystem may include audio content, movie studios, music studios, gaming audio studios, channel based audio content, coding engines, game audio stems, game audio coding / rendering engines, and delivery systems.

The movie studios, the music studios, and the gaming audio studios may receive audio content. In some examples, the audio content may represent the output of an acquisition. The movie studios may output channel based audio content (e.g., in 2.0, 5.1, and 7.1) such as by using a digital audio workstation (DAW). The music studios may output channel based audio content (e.g., in 2.0, and 5.1) such as by using a DAW. In either case, the coding engines may receive and encode the channel based audio content based one or more codecs (e.g., AAC, AC3, Dolby True HD, Dolby Digital Plus, and DTS Master Audio) for output by the delivery systems. The gaming audio studios may output one or more game audio stems, such as by using a DAW. The game audio coding/rendering engines may code and or render the audio stems into channel based audio content for output by the delivery systems. Another example context in which the techniques may be performed comprises an audio ecosystem that may include broadcast recording audio objects, professional audio systems, consumer on-device capture, ambisonics audio format, on-device rendering, consumer audio, TV, and accessories, and car audio systems.

The broadcast recording audio objects, the professional audio systems, and the consumer on-device capture may all code their output using ambisonics audio format. In this way, the audio content may be coded using the ambisonics audio format into a single representation that may be played back using the on-device rendering, the consumer audio, TV, and accessories, and the car audio systems. In other words, the single representation of the audio content may be played back at a generic audio playback system (i.e., as opposed to requiring a particular configuration such as 5.1, 7.1, etc.), such as audio playback system 16.

Other examples of context in which the techniques may be performed include an audio ecosystem that may include acquisition elements, and playback elements. The acquisition elements may include wired and/or wireless acquisition devices (e.g., Eigen microphones), on-device surround sound capture, and mobile devices (e.g., smartphones and tablets). In some examples, wired and/or wireless acquisition devices may be coupled to mobile device via wired and/or wireless communication channel(s).

In accordance with one or more techniques of this disclosure, the mobile device may be used to acquire a soundfield. For instance, the mobile device may acquire a soundfield via the wired and/or wireless acquisition devices and/or the on-device surround sound capture (e.g., a plurality of microphones integrated into the mobile device). The mobile device may then code the acquired soundfield into the ambisonics coefficients for playback by one or more of the playback elements. For instance, a user of the mobile device may record (acquire a soundfield of) a live event (e.g., a meeting, a conference, a play, a concert, etc.), and code the recording into ambisonics coefficients.

The mobile device may also utilize one or more of the playback elements to playback the ambisonic coded soundfield. For instance, the mobile device may decode the ambisonic coded soundfield and output a signal to one or more of the playback elements that causes the one or more of the playback elements to recreate the soundfield. As one example, the mobile device may utilize the wireless and/or wireless communication channels to output the signal to one or more speakers (e.g., speaker arrays, sound bars, etc.). As another example, the mobile device may utilize docking solutions to output the signal to one or more docking stations and/or one or more docked speakers (e.g., sound systems in smart cars and/or homes). As another example, the mobile device may utilize headphone rendering to output the signal to a set of headphones, e.g., to create realistic binaural sound.

In some examples, a particular mobile device may both acquire a 3D soundfield and playback the same 3D soundfield at a later time. In some examples, the mobile device may acquire a 3D soundfield, encode the 3D soundfield into ambisonics, and transmit the encoded 3D soundfield to one or more other devices (e.g., other mobile devices and/or other non-mobile devices) for playback.

Yet another context in which the techniques may be performed includes an audio ecosystem that may include audio content, game studios, coded audio content, rendering engines, and delivery systems. In some examples, the game studios may include one or more DAWs which may support editing of ambisonic signals. For instance, the one or more DAWs may include ambisonics plugins and/or tools which may be configured to operate with (e.g., work with) one or more game audio systems. In some examples, the game studios may output new stem formats that support ambisonics. In any case, the game studios may output coded audio content to the rendering engines which may render a soundfield for playback by the delivery systems.

The techniques may also be performed with respect to exemplary audio acquisition devices. For example, the techniques may be performed with respect to an Eigen microphone which may include a plurality of microphones that are collectively configured to record a 3D soundfield. In some examples, the plurality of microphones of Eigen microphone may be located on the surface of a substantially spherical ball with a radius of approximately 4 cm. In some examples, the audio encoding device 20 may be integrated into the Eigen microphone so as to output a bitstream 21 directly from the microphone.

Another exemplary audio acquisition context may include a production truck which may be configured to receive a signal from one or more microphones, such as one or more Eigen microphones. The production truck may also include an audio encoder, such as the spatial audio encoding device 24 of FIG. 1.

The mobile device may also, in some instances, include a plurality of microphones that are collectively configured to record a 3D soundfield. In other words, the plurality of microphone may have X, Y, Z diversity. In some examples, the mobile device may include a microphone which may be rotated to provide X, Y, Z diversity with respect to one or more other microphones of the mobile device. The mobile device may also include an audio encoder, such as the audio encoder 22 of FIG. 1.

A ruggedized video capture device may further be configured to record a 3D soundfield. In some examples, the ruggedized video capture device may be attached to a helmet of a user engaged in an activity. For instance, the ruggedized video capture device may be attached to a helmet of a user whitewater rafting. In this way, the ruggedized video capture device may capture a 3D soundfield that represents the action all around the user (e.g., water crashing behind the user, another rafter speaking in front of the user, etc . . . ).

The techniques may also be performed with respect to an accessory enhanced mobile device, which may be configured to record a 3D soundfield. In some examples, the mobile device may be similar to the mobile devices discussed above, with the addition of one or more accessories. For instance, an Eigen microphone may be attached to the above noted mobile device to form an accessory enhanced mobile device. In this way, the accessory enhanced mobile device may capture a higher quality version of the 3D soundfield than just using sound capture components integral to the accessory enhanced mobile device.

Example audio playback devices that may perform various aspects of the techniques described in this disclosure are further discussed below. In accordance with one or more techniques of this disclosure, speakers and/or sound bars may be arranged in any arbitrary configuration while still playing back a 3D soundfield. Moreover, in some examples, headphone playback devices may be coupled to a decoder 32 (which is another way to refer to the audio decoding device 32 of FIG. 1) via either a wired or a wireless connection. In accordance with one or more techniques of this disclosure, a single generic representation of a soundfield may be utilized to render the soundfield on any combination of the speakers, the sound bars, and the headphone playback devices.

A number of different example audio playback environments may also be suitable for performing various aspects of the techniques described in this disclosure. For instance, a 5.1 speaker playback environment, a 2.0 (e.g., stereo) speaker playback environment, a 9.1 speaker playback environment with full height front speakers, a 22.2 speaker playback environment, a 16.0 speaker playback environment, an automotive speaker playback environment, and a mobile device with ear bud playback environment may be suitable environments for performing various aspects of the techniques described in this disclosure.

In accordance with one or more techniques of this disclosure, a single generic representation of a soundfield may be utilized to render the soundfield on any of the foregoing playback environments. Additionally, the techniques of this disclosure enable a rendered to render a soundfield from a generic representation for playback on the playback environments other than that described above. For instance, if design considerations prohibit proper placement of speakers according to a 7.1 speaker playback environment (e.g., if it is not possible to place a right surround speaker), the techniques of this disclosure enable a render to compensate with the other 6 speakers such that playback may be achieved on a 6.1 speaker playback environment.

Moreover, a user may watch a sports game while wearing headphones. In accordance with one or more techniques of this disclosure, the 3D soundfield of the sports game may be acquired (e.g., one or more Eigen microphones may be placed in and/or around the baseball stadium), ambisonics coefficients corresponding to the 3D soundfield may be obtained and transmitted to a decoder, the decoder may reconstruct the 3D soundfield based on the ambisonics coefficients and output the reconstructed 3D soundfield to a renderer, the renderer may obtain an indication as to the type of playback environment (e.g., headphones), and render the reconstructed 3D soundfield into signals that cause the headphones to output a representation of the 3D soundfield of the sports game.

In each of the various instances described above, it should be understood that the audio encoding device 22 may perform a method or otherwise comprise means to perform each step of the method for which the audio encoding device 22 is configured to perform In some instances, the means may comprise one or more processors. In some instances, the one or more processors may represent a special purpose processor configured by way of instructions stored to a non-transitory computer-readable storage medium. In other words, various aspects of the techniques in each of the sets of encoding examples may provide for a non-transitory computer-readable storage medium having stored thereon instructions that, when executed, cause the one or more processors to perform the method for which the audio encoding device 20 has been configured to perform.

In one or more examples, the functions described may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium and executed by a hardware-based processing unit. Computer-readable media may include computer-readable storage media, which corresponds to a tangible medium such as data storage media. Data storage media may be any available media that can be accessed by one or more computers or one or more processors to retrieve instructions, code and/or data structures for implementation of the techniques described in this disclosure. A computer program product may include a computer-readable medium.

By way of example, and not limitation, such computer-readable storage media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage, or other magnetic storage devices, flash memory, or any other medium that can be used to store desired program code in the form of instructions or data structures and that can be accessed by a computer. It should be understood, however, that computer-readable storage media and data storage media do not include connections, carrier waves, signals, or other transitory media, but are instead directed to non-transitory, tangible storage media. Disk and disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk and Blu-ray disc, where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.

Instructions may be executed by one or more processors, such as one or more digital signal processors (DSPs), general purpose microprocessors, application specific integrated circuits (ASICs), field programmable logic arrays (FPGAs), or other equivalent integrated or discrete logic circuitry. Accordingly, the term “processor,” as used herein may refer to any of the foregoing structure or any other structure suitable for implementation of the techniques described herein. In addition, in some aspects, the functionality described herein may be provided within dedicated hardware and/or software modules configured for encoding and decoding, or incorporated in a combined codec. Also, the techniques could be fully implemented in one or more circuits or logic elements.

The techniques of this disclosure may be implemented in a wide variety of devices or apparatuses, including a wireless handset, an integrated circuit (IC) or a set of ICs (e.g., a chip set). Various components, modules, or units are described in this disclosure to emphasize functional aspects of devices configured to perform the disclosed techniques, but do not necessarily require realization by different hardware units. Rather, as described above, various units may be combined in a codec hardware unit or provided by a collection of interoperative hardware units, including one or more processors as described above, in conjunction with suitable software and/or firmware.

Moreover, as used herein, “A and/or B” means “A or B”, or both “A and B.”

Various aspects of the techniques have been described. These and other aspects of the techniques are within the scope of the following claims. 

1. A device configured to encode scene-based audio data, the device comprising: a memory configured to store the scene-based audio data; and one or more processors configured to: perform spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; perform correlation with respect to two or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; perform psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specify, in a bitstream, the encoded components.
 2. The device of claim 1, wherein the one or more processors are configured to perform psychoacoustic audio encoding according to a compression algorithm with respect to the at least one pair of the plurality of correlated components.
 3. The device of claim 1, wherein the one or more processors are configured to perform psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated components to obtain encoded components.
 4. The device of claim 1, wherein the one or more processors are configured to: separately perform correlation with respect to the plurality of background components to obtain a plurality of correlated background components of the plurality of correlated components; and perform psychoacoustic audio encoding with respect to at least one pair of the plurality of background components.
 5. The device of claim 1, wherein the one or more processors are configured to: separately perform correlation with respect to the plurality of foreground audio signals to obtain a plurality of correlated foreground audio signals of the plurality of correlated components; and perform psychoacoustic audio encoding with respect to at least one pair of the plurality of correlated foreground audio signals.
 6. The device of claim 1, wherein the one or more processors are configured to perform correlation with respect to at least one of the plurality of background components and at least one of the plurality of foreground audio signals to obtain at least one pair of the plurality of correlated components.
 7. The device of claim 1, wherein the one or more processors are further configured to: reorder, based on the correlation, one or more of the plurality of background components and the plurality of foreground audio signals in the bitstream; and specify, in the bitstream, an indication representative of how the one or more of the plurality of background components the plurality of foreground audio signals were reordered in the bitstream.
 8. The device of claim 1, wherein the one or more processors are configured to perform a linear invertible transform with respect to the scene-based audio data to obtain the plurality of foreground audio signals and the corresponding plurality of spatial components.
 9. The device of claim 1, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.
 10. The device of claim 1, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.
 11. The device of claim 1, wherein each of the plurality of foreground audio signals comprises a foreground audio signal defined in the spherical harmonic domain, and wherein each of the corresponding plurality of spatial components comprises a spatial component defined in the spherical harmonic domain.
 12. A method of encoding scene-based audio data, the method comprising: performing spatial audio encoding with respect to the scene-based audio data to obtain a plurality of background components of a soundfield represented by the scene-based audio data, a plurality of foreground audio signals, and a corresponding plurality of spatial components, each of the plurality of spatial components defining spatial characteristics of a corresponding foreground audio signal of the plurality of foreground audio signals; performing correlation with respect to one or more of the plurality of background components and the plurality foreground audio signals to obtain a plurality of correlated components; performing psychoacoustic audio encoding with respect to one or more of the plurality of correlated components to obtain encoded components; and specifying, in a bitstream, the encoded components.
 13. A device configured to decode a bitstream representative of scene-based audio data, the device comprising: a memory configured to store the bitstream, the bitstream including a plurality of encoded correlated components of a soundfield represented by the scene-based audio data; and one or more processors configured to: perform psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtain, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reorder, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstruct, based on the plurality of reordered components, the scene-based audio data.
 14. The device of claim 13, wherein the one or more processors are configured to perform psychoacoustic audio decoding according to a decompression algorithm with respect to the plurality of encoded correlated components.
 15. The device of claim 13, wherein the one or more processors are configured to perform psychoacoustic audio decoding with respect to at least one pair of the plurality of encoded correlated components to obtain the plurality of correlated components.
 16. The device of claim 13, wherein the one or more processors are configured to separately reorder, based on the indication, a plurality of correlated background components of the plurality of correlated components to obtain a plurality of reordered background components of the plurality of reordered components.
 17. The device of claim 13, wherein the one or more processors are configured to separately reorder, based on the indication, a plurality of correlated foreground audio signals of the plurality of correlated components to obtain a plurality of reordered foreground audio signals of the plurality of reordered components.
 18. The device of claim 13, wherein the plurality of correlated components include a background component correlated to a foreground audio signal.
 19. The device of claim 13, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than one.
 20. The device of claim 13, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero.
 21. The device of claim 13, wherein the scene-based audio data comprises audio data defined in a spherical harmonic domain.
 22. The device of claim 13, wherein the one or more processors are further configured to render the scene-based audio data to one or more speaker feeds, and wherein the device further comprises speakers configured to reproduce, based on the speaker feeds, the soundfield represented by the scene-based audio data.
 23. A method of decoding a bitstream representative of scene-based audio data, the method comprising: obtaining, from the bitstream, a plurality of encoded correlated components; performing psychoacoustic audio decoding with respect to one or more of the plurality of encoded correlated components to obtain a plurality of correlated components; obtaining, from the bitstream, an indication representative of how the one or more of the plurality of correlated components were reordered in the bitstream; reordering, based on the indication, the plurality of correlated components to obtain a plurality of reordered components; and reconstructing, based on the plurality of reordered components, the scene-based audio data.
 24. The method of claim 23, wherein performing psychoacoustic audio decoding comprises performing psychoacoustic audio decoding according to a decompression algorithm with respect to the plurality of encoded correlated components.
 25. The method of claim 23, wherein performing psychoacoustic audio decoding comprises performing psychoacoustic audio decoding with respect to at least one pair of the plurality of encoded correlated components to obtain the plurality of correlated components.
 26. The method of claim 23, wherein reordering the plurality of correlated components comprises separately reordering, based on the indication, a plurality of correlated background components of the plurality of correlated components to obtain a plurality of reordered background components of the plurality of reordered components.
 27. The method of claim 23, wherein reordering the plurality of correlated components comprises separately reordering, based on the indication, a plurality of correlated foreground audio signals of the plurality of correlated components to obtain a plurality of reordered foreground audio signals of the plurality of reordered components.
 28. The method of claim 23, wherein the plurality of correlated components include a background component correlated to a foreground audio signal.
 29. The method of claim 23, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than one.
 30. The method of claim 23, wherein the scene-based audio data comprises higher order ambisonic coefficients corresponding to an order greater than zero. 